AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials
Please resolve this issue: AttributeError: 'UTC' object has no attribute 'key'
Open
- Dominant language
- Jupyter Notebook
- Stars
- 1.2k
- Forks
- 435
- PR merge metrics
- No merged PRs in 30d
Description
/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'
Contributor guide
Assessment
This issue has not been assessed yet.