#[no_mangle]
pub extern "C" fn orderbook_midpoint(book: &mut OrderBook_API) -> f64
Expand description
ยงPanics
Panics if unable to calculate midpoint (requires at least one bid and one ask).
#[no_mangle]
pub extern "C" fn orderbook_midpoint(book: &mut OrderBook_API) -> f64
Panics if unable to calculate midpoint (requires at least one bid and one ask).