Realm

oa::ml::environment::TradingBook

Optional event-aligned visible depth and native mark. No interpolation.

StRust public API

Declaration

pub struct TradingBook { pub bids: Vec<[f32; 2]>, pub asks: Vec<[f32; 2]>, pub mark_price: f32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TradingBook
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Public Data Members

bidsVec<[f32; 2]>field
asksVec<[f32; 2]>field
mark_pricef32field

Public Method Documentation

fn clone( &self ) -> TradingBook
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.