Function py_tardis_normalize_symbol_str

Source
pub fn py_tardis_normalize_symbol_str(
    symbol: String,
    exchange: String,
    instrument_type: String,
    is_inverse: Option<bool>,
) -> PyResult<String>
Expand description

Normalize a symbol string for Tardis, returning a suffix-modified symbol.

§Errors

Returns a PyErr if the exchange or instrument_type cannot be parsed.