pub fn bar_spec_as_okx_timeframe(
bar_spec: BarSpecification,
) -> Result<&'static str>
Expand description
Converts Nautilus bar specification to OKX timeframe string.
ยงErrors
Returns an error if the bar specification does not have a corresponding OKX timeframe value.