pub struct WindowConfig {Show 19 fields
pub small_window_size: usize,
pub medium_window_size: usize,
pub large_window_size: usize,
pub calculate_cross_correlations: bool,
pub detect_changes: bool,
pub calculate_bollinger_bands: bool,
pub calculate_macd: bool,
pub calculate_rsi: bool,
pub rsi_period: usize,
pub macd_fast_period: usize,
pub macd_slow_period: usize,
pub macd_signal_period: usize,
pub bollinger_std_dev: f64,
pub ewma_alpha: f64,
pub change_threshold: f64,
pub change_detection_threshold: f64,
pub bollinger_window: usize,
pub bollinger_multiplier: f64,
pub normalization_window: usize,
}Expand description
Configuration for multi-window analysis
Fields§
§small_window_size: usizeSmall window size (high temporal resolution)
medium_window_size: usizeMedium window size (balanced resolution)
large_window_size: usizeLarge window size (low temporal resolution)
calculate_cross_correlations: boolWhether to calculate cross-window correlations
detect_changes: boolWhether to perform change detection
calculate_bollinger_bands: boolWhether to calculate Bollinger bands
calculate_macd: boolWhether to calculate MACD features
calculate_rsi: boolWhether to calculate RSI
rsi_period: usizeRSI period
macd_fast_period: usizeMACD fast period
macd_slow_period: usizeMACD slow period
macd_signal_period: usizeMACD signal period
bollinger_std_dev: f64Bollinger band standard deviations
ewma_alpha: f64EWMA smoothing factor
change_threshold: f64Change detection threshold
change_detection_threshold: f64Change detection threshold (alias for compatibility)
bollinger_window: usizeBollinger band window size
bollinger_multiplier: f64Bollinger band multiplier (alias for std_dev)
normalization_window: usizeNormalization window size
Trait Implementations§
Source§impl Clone for WindowConfig
impl Clone for WindowConfig
Source§fn clone(&self) -> WindowConfig
fn clone(&self) -> WindowConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowConfig
impl Debug for WindowConfig
Auto Trait Implementations§
impl Freeze for WindowConfig
impl RefUnwindSafe for WindowConfig
impl Send for WindowConfig
impl Sync for WindowConfig
impl Unpin for WindowConfig
impl UnwindSafe for WindowConfig
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,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.