pub fn okx_timeframe_as_bar_spec(timeframe: &str) -> Result<BarSpecification>
Expand description
Converts OKX timeframe string to Nautilus bar specification.
ยงErrors
Returns an error if the timeframe string is not recognized.
pub fn okx_timeframe_as_bar_spec(timeframe: &str) -> Result<BarSpecification>
Converts OKX timeframe string to Nautilus bar specification.
Returns an error if the timeframe string is not recognized.