pub fn get_bar_interval(bar_type: &BarType) -> TimeDelta
Returns the bar interval as a TimeDelta.
TimeDelta
This function panics:
bar_type