pub struct DualModeBookSlope { /* private fields */ }Expand description
Order Book Slope dual-mode implementation Order Book Slope dual-mode implementation.
Implementations§
Trait Implementations§
Source§impl DualModeFeature for DualModeBookSlope
impl DualModeFeature for DualModeBookSlope
Source§fn calculate_incremental(&mut self, update: &MarketUpdate) -> FeatureValue
fn calculate_incremental(&mut self, update: &MarketUpdate) -> FeatureValue
Calculate feature incrementally for real-time trading
Source§fn calculate_batch(&self, data: &[MarketData]) -> Vec<FeatureValue>
fn calculate_batch(&self, data: &[MarketData]) -> Vec<FeatureValue>
Calculate feature in batch mode for backtesting
Auto Trait Implementations§
impl Freeze for DualModeBookSlope
impl RefUnwindSafe for DualModeBookSlope
impl Send for DualModeBookSlope
impl Sync for DualModeBookSlope
impl Unpin for DualModeBookSlope
impl UnwindSafe for DualModeBookSlope
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