Skip to main content

symbol_to_counter_id

Function symbol_to_counter_id 

Source
pub fn symbol_to_counter_id(symbol: &str) -> String
Expand description

ETF + index + warrant set and the remote-resolved cache; a matching entry is returned as-is. Crypto symbols whose suffix matches a known exchange (e.g. HAS) are converted to VA/{EXCHANGE}/{PAIR}. Unmatched symbols default to ST/.