pub fn extract_instrument_from_channel(channel: &str) -> Option<&str>
Extracts the instrument name from a channel string.
For example: “trades.BTC-PERPETUAL.raw” -> “BTC-PERPETUAL”