Expand description
Provides utilities for determining Forex session times. Includes functions to convert UTC times to session local times and retrieve the next or previous session start/end.
All FX sessions run Monday to Friday local time:
- Sydney Session 0700-1600 (Australia / Sydney)
- Tokyo Session 0900-1800 (Asia / Tokyo)
- London Session 0800-1600 (Europe / London)
- New York Session 0800-1700 (America / New York)
Structs§
- Forex
Session Iter - An iterator over the variants of ForexSession
Enums§
- Forex
Session - Represents a major Forex market session based on trading hours.
Functions§
- fx_
local_ from_ utc - Converts a UTC timestamp to the local time for the given Forex session.
- fx_
next_ end - Returns the next session end time in UTC.
- fx_
next_ start - Returns the next session start time in UTC.
- fx_
prev_ end - Returns the previous session end time in UTC.
- fx_
prev_ start - Returns the previous session start time in UTC.