FinRL-Tutorials icon indicating copy to clipboard operation
FinRL-Tutorials copied to clipboard

Please resolve this issue: AttributeError: 'UTC' object has no attribute 'key'

Open Anupa-123 opened this issue 1 year ago • 0 comments

/usr/local/lib/python3.10/site-packages/exchange_calendars/calendar_helpers.py in parse_date(date, param_name, calendar, raise_oob) 377 ts = parse_timestamp(date, param_name, raise_oob=False, side="left", utc=False) 378 --> 379 if ts.tz is not None: 380 raise ValueError( 381 f"Parameter {param_name} received with timezone defined as '{ts.tz.key}'"

AttributeError: 'UTC' object has no attribute 'key'

Anupa-123 avatar Mar 13 '24 09:03 Anupa-123