pub fn bar_spec_as_okx_channel(
bar_spec: BarSpecification,
) -> Result<OKXWsChannel>
Expand description
Converts a Nautilus bar specification into the matching OKX candle channel.
ยงErrors
Returns an error if the provided bar specification does not have a matching OKX websocket channel.