Function py_fx_prev_start

Source
pub fn py_fx_prev_start(
    session: ForexSession,
    time_now: DateTime<Utc>,
) -> PyResult<DateTime<Utc>>
Expand description

Returns the previous session start time in UTC.

The time_now must be timezone-aware with its tzinfo set to a built-in datetime.timezone (e.g. datetime.timezone.utc). Third-party tzinfo objects (like those from pytz) are not supported.