pub const fn get_bar_interval_ns(bar_type: &BarType) -> u64
Get the interval in nanoseconds for a bar type