parse_spot_instrument_sbe

Function parse_spot_instrument_sbe 

Source
pub fn parse_spot_instrument_sbe(
    symbol: &BinanceSymbolSbe,
    ts_event: UnixNanos,
    ts_init: UnixNanos,
) -> Result<InstrumentAny>
Expand description

Parses a Binance Spot SBE symbol into a Nautilus CurrencyPair instrument.

ยงErrors

Returns an error if:

  • Required filter values are missing (PRICE_FILTER, LOT_SIZE).
  • Price or quantity values cannot be parsed.
  • The symbol is not actively trading.