is_index_symbol

Function is_index_symbol 

Source
pub fn is_index_symbol(symbol: &Ustr) -> bool
Expand description

Check if a symbol is an index symbol (starts with ‘.’).

Index symbols in BitMEX represent indices like .BXBT and have different behavior from regular instruments:

  • They only have a single price value (no bid/ask spread).
  • They don’t have trades or quotes.
  • Their price is delivered via the lastPrice field.