pub fn bar_spec_as_okx_timeframe( bar_spec: BarSpecification, ) -> Result<&'static str>
Converts Nautilus bar specification to OKX timeframe string.