pub struct TardisConfig {
pub decay_span: usize,
pub price_impact_window: usize,
pub volume_sensitivity_window: usize,
pub entropy_window: usize,
pub burst_detector_window: usize,
pub harmonic_short_window: usize,
pub harmonic_long_window: usize,
pub enable_order_type_inference: bool,
}Expand description
Configuration for Tardis Advanced Features
Fields§
§decay_span: usizeWindow size for exponential decay calculations
price_impact_window: usizeWindow size for rolling price impact calculations
volume_sensitivity_window: usizeWindow size for volume-price sensitivity calculations
entropy_window: usizeWindow size for price entropy calculations
burst_detector_window: usizeWindow size for burst detection
harmonic_short_window: usizeShort window size for harmonic oscillator
harmonic_long_window: usizeLong window size for harmonic oscillator
enable_order_type_inference: boolEnable experimental order type inference (default: false)
Warning: Order type inference from trade data is inherently unreliable and should only be used for statistical analysis, not trading decisions.
Trait Implementations§
Source§impl Clone for TardisConfig
impl Clone for TardisConfig
Source§fn clone(&self) -> TardisConfig
fn clone(&self) -> TardisConfig
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 TardisConfig
impl Debug for TardisConfig
Auto Trait Implementations§
impl Freeze for TardisConfig
impl RefUnwindSafe for TardisConfig
impl Send for TardisConfig
impl Sync for TardisConfig
impl Unpin for TardisConfig
impl UnwindSafe for TardisConfig
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