pub fn py_fx_prev_end(
session: ForexSession,
time_now: DateTime<Utc>,
) -> PyResult<DateTime<Utc>>
Expand description
Returns the previous session end 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.