pub fn parse_ticker_currencies(ticker: &str) -> Result<(&str, &str)>
Parses base and quote currency codes from a ticker.
Returns an error if the ticker format is invalid.