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