Open djkelleher opened 11 months ago
Contracts about to expire may not have tradingHours, liquidHours, and timeZoneId set. This was causing an error when _parseSessions is called:
tradingHours
liquidHours
timeZoneId
_parseSessions
Exception has occurred: ValueError ZoneInfo keys must be normalized relative paths, got:
A simple way to avoid the error would be to check if the argument string is empty.
Contracts about to expire may not have
tradingHours
,liquidHours
, andtimeZoneId
set. This was causing an error when_parseSessions
is called:A simple way to avoid the error would be to check if the argument string is empty.