pub fn get_bar_interval(bar_type: &BarType) -> TimeDeltaExpand description
Returns the bar interval as a TimeDelta.
ยงPanics
Panics if the aggregation method of the given bar_type is not time based,
or if step is too large for the interval arithmetic.