pub struct InterBarConfig {
pub lookback_mode: LookbackMode,
pub compute_tier2: bool,
pub compute_tier3: bool,
pub compute_hurst: Option<bool>,
pub compute_permutation_entropy: Option<bool>,
}Expand description
Configuration for inter-bar feature computation
Fields§
§lookback_mode: LookbackModeLookback mode: by count or by time
compute_tier2: boolWhether to compute Tier 2 features (requires more trades)
compute_tier3: boolWhether to compute Tier 3 features (requires 60+ trades for some)
compute_hurst: Option<bool>Issue #128: Per-feature override for Hurst exponent computation. None = follow compute_tier3 flag. Some(false) = skip even if tier enabled. Some(true) = compute even if tier disabled.
compute_permutation_entropy: Option<bool>Issue #128: Per-feature override for Permutation Entropy computation. None = follow compute_tier3 flag. Some(false) = skip even if tier enabled. Some(true) = compute even if tier disabled.
Implementations§
Source§impl InterBarConfig
impl InterBarConfig
Sourcepub fn should_compute_hurst(&self) -> bool
pub fn should_compute_hurst(&self) -> bool
Issue #128: Resolve whether Hurst should be computed, considering per-feature override and tier flag.
Sourcepub fn should_compute_permutation_entropy(&self) -> bool
pub fn should_compute_permutation_entropy(&self) -> bool
Issue #128: Resolve whether Permutation Entropy should be computed, considering per-feature override and tier flag.
Trait Implementations§
Source§impl Clone for InterBarConfig
impl Clone for InterBarConfig
Source§fn clone(&self) -> InterBarConfig
fn clone(&self) -> InterBarConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InterBarConfig
impl Debug for InterBarConfig
Source§impl Default for InterBarConfig
impl Default for InterBarConfig
Source§fn default() -> InterBarConfig
fn default() -> InterBarConfig
Auto Trait Implementations§
impl Freeze for InterBarConfig
impl RefUnwindSafe for InterBarConfig
impl Send for InterBarConfig
impl Sync for InterBarConfig
impl Unpin for InterBarConfig
impl UnsafeUnpin for InterBarConfig
impl UnwindSafe for InterBarConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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