pub fn topic_from_bar_spec(spec: BarSpecification) -> BitmexWsTopicExpand description
Converts a bar specification to a WebSocket topic.
Returns TradeBin1m and logs an error for unsupported specifications.
pub fn topic_from_bar_spec(spec: BarSpecification) -> BitmexWsTopicConverts a bar specification to a WebSocket topic.
Returns TradeBin1m and logs an error for unsupported specifications.