pub enum DirectionalPressure {
StrongBullish,
WeakBullish,
Neutral,
WeakBearish,
StrongBearish,
}Expand description
Directional pressure levels
Variants§
StrongBullish
Strong buying pressure detected (asymmetry > 0.3)
WeakBullish
Weak buying pressure detected (asymmetry > 0.1)
Neutral
Balanced market with no clear direction
WeakBearish
Weak selling pressure detected (asymmetry < -0.1)
StrongBearish
Strong selling pressure detected (asymmetry < -0.3)
Trait Implementations§
Source§impl Clone for DirectionalPressure
impl Clone for DirectionalPressure
Source§fn clone(&self) -> DirectionalPressure
fn clone(&self) -> DirectionalPressure
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 DirectionalPressure
impl Debug for DirectionalPressure
Source§impl PartialEq for DirectionalPressure
impl PartialEq for DirectionalPressure
impl Copy for DirectionalPressure
impl StructuralPartialEq for DirectionalPressure
Auto Trait Implementations§
impl Freeze for DirectionalPressure
impl RefUnwindSafe for DirectionalPressure
impl Send for DirectionalPressure
impl Sync for DirectionalPressure
impl Unpin for DirectionalPressure
impl UnwindSafe for DirectionalPressure
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