Exception in thread Thread-5009:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.target(*self.args, **self.kwargs)
File "./app/Trading.py", line 98, in sell
if buy_order['status'] == 'FILLED' and buy_order['side'] == "BUY":
TypeError: 'bool' object has no attribute 'getitem__'
Exception in thread Thread-5009: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.kwargs) File "./app/Trading.py", line 98, in sell if buy_order['status'] == 'FILLED' and buy_order['side'] == "BUY": TypeError: 'bool' object has no attribute 'getitem__'
Any help please?