nautilus_backtest::modules

Trait SimulationModule

Source
pub trait SimulationModule {
    // Required methods
    fn register_venue(&self, exchange: SimulatedExchange);
    fn pre_process(&self, data: Data);
    fn process(&self, ts_now: UnixNanos);
    fn log_diagnostics(&self, logger: Logger);
    fn reset(&self);
}

Required Methods§

Source

fn register_venue(&self, exchange: SimulatedExchange)

Source

fn pre_process(&self, data: Data)

Source

fn process(&self, ts_now: UnixNanos)

Source

fn log_diagnostics(&self, logger: Logger)

Source

fn reset(&self)

Implementors§