pub fn bar_spec_as_okx_mark_price_channel(
bar_spec: BarSpecification,
) -> Result<OKXWsChannel>Expand description
Converts Nautilus bar specification to OKX mark price channel.
ยงErrors
Returns an error if the bar specification does not map to a mark price channel.