pub struct DualModeVPIN { /* private fields */ }Expand description
VPIN (Volume-Synchronized Probability of Informed Trading) dual-mode implementation.
Implementations§
Trait Implementations§
Source§impl DualModeFeature for DualModeVPIN
impl DualModeFeature for DualModeVPIN
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 DualModeVPIN
impl RefUnwindSafe for DualModeVPIN
impl Send for DualModeVPIN
impl Sync for DualModeVPIN
impl Unpin for DualModeVPIN
impl UnwindSafe for DualModeVPIN
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