Skip to main content

ticker_channel

Function ticker_channel 

Source
pub fn ticker_channel(instrument_name: &str, interval: &str) -> String
Expand description

Formats the topic for the public ticker_slim.{instrument_name}.{interval} channel.

interval is the millisecond cadence the venue exposes (e.g. "100", "1000"). The function does not validate the value; the venue rejects unsupported intervals on subscribe.