pub struct TardisFeatureVector {Show 14 fields
pub exponential_mean: f64,
pub exponential_std: f64,
pub exponential_var: f64,
pub price_impact: f64,
pub harmonic_frequency: f64,
pub harmonic_amplitude: Decimal,
pub harmonic_phase: f64,
pub burst_intensity: f64,
pub volume_price_sensitivity: f64,
pub limit_market_ratio: Option<Decimal>,
pub market_aggressiveness: Decimal,
pub price_entropy: f64,
pub unknown_order_count: u64,
pub total_order_count: u64,
}Expand description
Feature vector containing all calculated features
Fields§
§exponential_mean: f64Exponentially weighted mean price
exponential_std: f64Exponentially weighted standard deviation
exponential_var: f64Exponentially weighted variance
price_impact: f64Rolling Kyle’s lambda (permanent price impact)
harmonic_frequency: f64Detected harmonic oscillation frequency
harmonic_amplitude: DecimalDetected harmonic oscillation amplitude
harmonic_phase: f64Detected harmonic oscillation phase
burst_intensity: f64Trading burst intensity (volume volatility)
volume_price_sensitivity: f64Sensitivity of price to volume changes
limit_market_ratio: Option<Decimal>Ratio of limit orders to market orders (None if no market orders)
market_aggressiveness: DecimalProportion of market orders to total known orders
price_entropy: f64Shannon entropy of price distribution
unknown_order_count: u64Number of orders with unknown type (new field)
total_order_count: u64Total number of orders processed
Trait Implementations§
Source§impl Clone for TardisFeatureVector
impl Clone for TardisFeatureVector
Source§fn clone(&self) -> TardisFeatureVector
fn clone(&self) -> TardisFeatureVector
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 moreAuto Trait Implementations§
impl Freeze for TardisFeatureVector
impl RefUnwindSafe for TardisFeatureVector
impl Send for TardisFeatureVector
impl Sync for TardisFeatureVector
impl Unpin for TardisFeatureVector
impl UnwindSafe for TardisFeatureVector
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