alpacahq / alpacahq/samplealgo01
Still seeing the same issue on TypeError for barset.df
- Lingua principale
- Python
- Stelle
- 71
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.