pub fn parse_instrument(
symbol: &Symbol,
ts_init: UnixNanos,
) -> Result<CoinApiInstrument, InstrumentError>Expand description
Parses one CoinAPI symbol into a native spot, perpetual, or futures instrument.
ยงErrors
Returns an error if the symbol type is unsupported, the native mapping is unsupported or unresolved, or a required identity, precision, contract, or date field is missing or invalid.