You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduceable by calling data.history(symbol('SSY'), 'price', bar_count=745, frequency="1m").fillna('ffill') .
With some symbols the function will run with expected results. Other times the following error will occur with certain symbols. It traces back to a TypeError, despite no argument changes when data is successfully gotten from a symbol.
Exception in thread Thread-904:Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.6/multiprocessing/pool.py", line 463, in _handle_results task = get() File "/usr/lib/python3.6/multiprocessing/connection.py", line 251, in recv return _ForkingPickler.loads(buf.getbuffer()) File "/home/vincentfperkins/venv/lib/python3.6/site-packages/alpaca_trade_api/rest.py", line 48, in __init__ super().__init__(error['message'])TypeError: string indices must be integers
Any help is much appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
Reproduceable by calling
data.history(symbol('SSY'), 'price', bar_count=745, frequency="1m").fillna('ffill')
.With some symbols the function will run with expected results. Other times the following error will occur with certain symbols. It traces back to a TypeError, despite no argument changes when data is successfully gotten from a symbol.
Exception in thread Thread-904:Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.6/multiprocessing/pool.py", line 463, in _handle_results task = get() File "/usr/lib/python3.6/multiprocessing/connection.py", line 251, in recv return _ForkingPickler.loads(buf.getbuffer()) File "/home/vincentfperkins/venv/lib/python3.6/site-packages/alpaca_trade_api/rest.py", line 48, in __init__ super().__init__(error['message'])TypeError: string indices must be integers
Any help is much appreciated. Thank you.
The text was updated successfully, but these errors were encountered: