We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c674ed8 + 88fbb67 commit 8b8f9e8Copy full SHA for 8b8f9e8
alpaca_trade_api/entity.py
@@ -82,7 +82,7 @@ def df(self):
82
df.set_index('time', inplace=True)
83
if not df.empty:
84
df.index = pd.to_datetime(
85
- df.index * 1e9, utc=True,
+ (df.index * 1e9).astype('int64'), utc=True,
86
).tz_convert(NY)
87
else:
88
0 commit comments