pub fn py_fx_next_start(
session: ForexSession,
time_now: DateTime<Utc>,
) -> PyResult<DateTime<Utc>>Expand description
Returns the next 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.
ยงErrors
Returns a PyErr if an error occurs during session conversion or value conversion to Python.