alpacahq / alpacahq/samplealgo01
Still seeing the same issue on TypeError for barset.df
- 主要語言
- Python
- 星號
- 71
- 分支
- 85
- PR 合併指標
- 30 天內沒有已合併 PR
描述
File "/app/samplealgo/algo.py", line 50, in _get_prices
2019-01-31T17:02:13.116398+00:00 app[worker.1]: return barset.df
2019-01-31T17:02:13.116402+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/alpaca_trade_api/entity.py", line 102, in df
2019-01-31T17:02:13.116581+00:00 app[worker.1]: df = bars.df.copy()
2019-01-31T17:02:13.116585+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/alpaca_trade_api/entity.py", line 84, in df
2019-01-31T17:02:13.116746+00:00 app[worker.1]: df.index * 1e9, utc=True,
2019-01-31T17:02:13.116750+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pandas/core/ops.py", line 176, in invalid_op
2019-01-31T17:02:13.116959+00:00 app[worker.1]: "{typ}".format(name=name, typ=type(self).__name__))
2019-01-31T17:02:13.116983+00:00 app[worker.1]: TypeError: cannot perform __mul__ with this index type: Index
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。