nautilus_tardis::parse

Function normalize_instrument_id

Source
pub fn normalize_instrument_id(
    exchange: &Exchange,
    symbol: &str,
    instrument_type: InstrumentType,
    is_inverse: Option<bool>,
) -> InstrumentId
Expand description

Parses a Nautilus instrument ID with a normalized symbol from the given Tardis exchange and symbol values.