AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

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

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.