pub enum AnomalyAlgorithm {
StatisticalOutlier {
threshold_std_dev: f64,
},
PatternDeviation {
pattern_length: usize,
},
VolumeAnomaly {
volume_threshold: f64,
},
LatencyAnomaly {
latency_threshold_ns: u64,
},
PriceAnomaly {
price_change_threshold: f64,
},
}Expand description
Anomaly detection algorithm types
Different algorithms for detecting various types of anomalous behavior in trading data and system performance.
Variants§
StatisticalOutlier
Detect statistical outliers using standard deviation
PatternDeviation
Detect deviations from learned patterns
VolumeAnomaly
Detect abnormal trading volume
LatencyAnomaly
Detect unusual latency spikes
PriceAnomaly
Detect abnormal price movements
Trait Implementations§
Source§impl Clone for AnomalyAlgorithm
impl Clone for AnomalyAlgorithm
Source§fn clone(&self) -> AnomalyAlgorithm
fn clone(&self) -> AnomalyAlgorithm
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 AnomalyAlgorithm
impl RefUnwindSafe for AnomalyAlgorithm
impl Send for AnomalyAlgorithm
impl Sync for AnomalyAlgorithm
impl Unpin for AnomalyAlgorithm
impl UnwindSafe for AnomalyAlgorithm
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