Skip to main content

FeatureStore

Trait FeatureStore 

pub trait FeatureStore: Send + Sync {
    // Required methods
    fn get_regime(&self, instrument_id: &InstrumentId) -> Option<RegimeState>;
    fn get_flow(&self, instrument_id: &InstrumentId) -> Option<FlowMetrics>;
}

Required Methods§

fn get_regime(&self, instrument_id: &InstrumentId) -> Option<RegimeState>

fn get_flow(&self, instrument_id: &InstrumentId) -> Option<FlowMetrics>

Implementors§