nautilus_model::data::bar

Function get_time_bar_start

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

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