pub struct TickBar {
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: f64,
}Expand description
One completed tick bar (an OHLCV aggregate of ticks input candles).
Fields§
§open: f64Open of the first candle in the group.
high: f64Highest high across the group.
low: f64Lowest low across the group.
close: f64Close of the last candle in the group.
volume: f64Summed volume across the group.
Trait Implementations§
impl Copy for TickBar
impl StructuralPartialEq for TickBar
Auto Trait Implementations§
impl Freeze for TickBar
impl RefUnwindSafe for TickBar
impl Send for TickBar
impl Sync for TickBar
impl Unpin for TickBar
impl UnsafeUnpin for TickBar
impl UnwindSafe for TickBar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more