yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 826 forks source link

threading.py error / after making order #170

Open persedi opened 6 years ago

persedi commented 6 years ago

Hi, i get everytime multiple errors with the same message, when bot sends an order

Exception in thread Thread-105: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner self.run() File "C:\Python27\lib\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__'

The only difference between messages is Thread number at the top. Do anyone know how to fix it?