Function get_time_bar_start

Source
pub fn get_time_bar_start(
    now: DateTime<Utc>,
    bar_type: &BarType,
    time_bars_origin: Option<TimeDelta>,
) -> DateTime<Utc>
Expand description

Returns the time bar start as a timezone-aware DateTime<Utc>. Returns the time bar start as a timezone-aware DateTime<Utc>.