Skip to main content

FootprintStudyConfig

Struct FootprintStudyConfig 

Source
pub struct FootprintStudyConfig {
Show 14 fields pub stacked_imbalances: bool, pub naked_poc: bool, pub delta_poc: bool, pub unfinished_auctions: bool, pub imbalance_ratio: f64, pub imbalance_min_volume: f64, pub stack: usize, pub diagonal: bool, pub extend_bars: Option<usize>, pub cluster_share: Option<f64>, pub single_print_max: Option<f64>, pub delta_percent: Option<f64>, pub ratio: Option<f64>, pub min_delta: f64,
}
Expand description

What footprint_studies marks, and how. The default marks stacks of three diagonal imbalances at 300%, unfinished highs and lows, naked and delta POCs, and leaves the rest off.

Fields§

§stacked_imbalances: bool

Mark consecutive imbalance zones.

§naked_poc: bool

Extend the highest-volume row to its first revisit.

§delta_poc: bool

Mark the row with the largest absolute delta.

§unfinished_auctions: bool

Extend unfinished highs and lows to their first revisit.

§imbalance_ratio: f64

Dominance multiple of an imbalance, normally 3 (300%).

§imbalance_min_volume: f64

Inclusive minimum dominant-side volume of each imbalance in a stack, in instrument volume units after row grouping. Zero preserves all ratio signals; negative or non-finite, none. The chart uses its footprint config’s minimum for displayed zones.

§stack: usize

At least this many (and one) adjacent imbalances make a zone.

§diagonal: bool

Build imbalances from a side against the opposite side one price away, as the footprint shows them, rather than at the same price.

§extend_bars: Option<usize>

Bars a level or zone extends past its own: it ends at its first revisit, or expires after this many later bars. None extends until a revisit or the last bar.

§cluster_share: Option<f64>

Row volume above this share of the bar volume, in 0..=1, marks a cluster. Out of range, not a number, or None, none.

§single_print_max: Option<f64>

Extreme rows whose positive total volume is no larger than this, in instrument volume units, are single prints. This is an execution-size marker, independent of single-period occupancy in time profiles. None, none.

§delta_percent: Option<f64>

Marks a bar whose absolute delta, as a percentage of its volume with unknown side included, reaches this value, at equality too. A bar without volume or with zero delta has none. Not a number or negative, or None, none.

§ratio: Option<f64>

Marks a bar whose buy volume reaches this multiple of its sell volume, or the reverse, at equality too. A side with volume against none meets any multiple, two empty sides none, and unknown side counts in neither. Below 1 or not a number, or None, none.

§min_delta: f64

The delta POC needs at least this absolute net delta; below it the bar has none.

Trait Implementations§

Source§

impl Clone for FootprintStudyConfig

Source§

fn clone(&self) -> FootprintStudyConfig

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FootprintStudyConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for FootprintStudyConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for FootprintStudyConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for FootprintStudyConfig

Source§

fn eq(&self, other: &FootprintStudyConfig) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for FootprintStudyConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FootprintStudyConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> MaybeSend for T
where T: Send + Sync + ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

§

impl<T> SerializableAny for T
where T: 'static + Any + Clone + for<'a> Send + Sync,

§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

§

fn simd_from(_simd: S, value: T) -> T

§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.