parse_spot_instrument

Function parse_spot_instrument 

Source
pub fn parse_spot_instrument(
    definition: &BitmexInstrument,
    ts_init: UnixNanos,
) -> Result<InstrumentAny>
Expand description

Parse a BitMEX spot instrument into a Nautilus InstrumentAny.

ยงErrors

Returns an error if values are out of valid range or cannot be parsed.