This repository was archived by the owner on Mar 14, 2024. It is now read-only.
Replies: 2 comments
-
|
I am using this workaround: df = util.df(bars)
df["date"] = df["date"].dt.tz_convert("America/New_York")
print(df) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I edited function parseIBDatetime() in util.py file by adding t=pd.to_datetime(t.isoformat()) after string number 544. Now it works fine. The mistake appeared because of updates in Python 3.9 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
Whenever I try using util.df to a BarData, I am receving the error below
AttributeError: 'NoneType' object has no attribute 'total_seconds'
Any idea about what could be the reason?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions