pub fn extract_symbol(
    exchange: &str,
    market_type: MarketType,
    msg: &str
) -> Result<String, SimpleError>
Expand description

Extract the symbol from the message.

  • If the message contains multiple symbols, ALL is returned;
  • If the message has no symbol, NONE is returned.