pub struct AsymmetryMetrics {
pub basic_asymmetry: f64,
pub weighted_asymmetry: f64,
pub volume_asymmetry: f64,
pub order_count_asymmetry: f64,
pub smoothed_asymmetry: f64,
pub directional_pressure: DirectionalPressure,
}Expand description
Asymmetry metrics output
Fields§
§basic_asymmetry: f64Basic price-level asymmetry [-1, 1]
weighted_asymmetry: f64Distance-weighted asymmetry [-1, 1]
volume_asymmetry: f64Pure volume asymmetry [-1, 1]
order_count_asymmetry: f64Order count asymmetry [-1, 1]
smoothed_asymmetry: f64Smoothed asymmetry over window [-1, 1]
directional_pressure: DirectionalPressureDirectional pressure indicator
Trait Implementations§
Source§impl Clone for AsymmetryMetrics
impl Clone for AsymmetryMetrics
Source§fn clone(&self) -> AsymmetryMetrics
fn clone(&self) -> AsymmetryMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsymmetryMetrics
impl Debug for AsymmetryMetrics
impl Copy for AsymmetryMetrics
Auto Trait Implementations§
impl Freeze for AsymmetryMetrics
impl RefUnwindSafe for AsymmetryMetrics
impl Send for AsymmetryMetrics
impl Sync for AsymmetryMetrics
impl Unpin for AsymmetryMetrics
impl UnwindSafe for AsymmetryMetrics
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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