pub struct TradeDeltaValue {
pub delta: f64,
pub delta_high: f64,
pub delta_low: f64,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub rolling_volume: f64,
pub rolling_delta: f64,
}Expand description
One bar’s trade-based delta, cumulative delta candle, and rolling totals.
Fields§
§delta: f64Buy minus sell volume in this bar.
delta_high: f64Highest running delta of this bar’s executions, starting from zero: zero or more.
delta_low: f64Lowest running delta of this bar’s executions, starting from zero: zero or less.
open: f64Cumulative delta before the first execution.
high: f64Maximum cumulative delta reached, including the open.
low: f64Minimum cumulative delta reached, including the open.
close: f64Cumulative delta after the last execution.
rolling_volume: f64Total executed volume over the last N displayed bars, including unknown sides.
rolling_delta: f64Buy minus sell volume over the last N displayed bars.
Trait Implementations§
Source§impl Clone for TradeDeltaValue
impl Clone for TradeDeltaValue
Source§fn clone(&self) -> TradeDeltaValue
fn clone(&self) -> TradeDeltaValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TradeDeltaValue
Source§impl Debug for TradeDeltaValue
impl Debug for TradeDeltaValue
Source§impl Default for TradeDeltaValue
impl Default for TradeDeltaValue
Source§fn default() -> TradeDeltaValue
fn default() -> TradeDeltaValue
Returns the “default value” for a type. Read more
Source§impl PartialEq for TradeDeltaValue
impl PartialEq for TradeDeltaValue
impl StructuralPartialEq for TradeDeltaValue
Auto Trait Implementations§
impl Freeze for TradeDeltaValue
impl RefUnwindSafe for TradeDeltaValue
impl Send for TradeDeltaValue
impl Sync for TradeDeltaValue
impl Unpin for TradeDeltaValue
impl UnsafeUnpin for TradeDeltaValue
impl UnwindSafe for TradeDeltaValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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