Skip to main content

map_bar_spec_to_candle_width

Function map_bar_spec_to_candle_width 

Source
pub fn map_bar_spec_to_candle_width(
    spec: &BarSpecification,
) -> Result<AxCandleWidth>
Expand description

Maps a Nautilus [BarSpecification] to an AxCandleWidth.

ยงErrors

Returns an error if the bar specification is not supported by Ax.