nunoloureiro / birdtradebot

Cryptocurrency Bot that receives trading advice and performs transactions (manages wallets)
MIT License
13 stars 3 forks source link

Error while placing Order #11

Open zbuh opened 6 years ago

zbuh commented 6 years ago

LOG: (top - down)

2018-09-11 07:28:24 | stdout | AttributeError: 'NoneType' object has no attribute 'status' 2018-09-11 07:28:24 | stdout | if state.status == 'done': 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 283, in check_pending_orders 2018-09-11 07:28:24 | stdout | orders = check_pending_orders(account, orders) 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 408, in place_limit_order 2018-09-11 07:28:24 | stdout | place_limit_order(account, pair) 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 560, in update_pair_position 2018-09-11 07:28:24 | stdout | update_pair_position(account, pair) 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 498, in update_account_position 2018-09-11 07:28:24 | stdout | new_pairs[account.name]) 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 543, in update_accounts_positions 2018-09-11 07:28:24 | stdout | self._target(*self._args, **self._kwargs) 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/threading.py", line 865, in run 2018-09-11 07:28:24 | stdout | self.run() 2018-09-11 07:28:24 | stdout | File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner 2018-09-11 07:28:24 | stdout | Traceback (most recent call last): 2018-09-11 07:28:24 | stdout | Exception in thread OrderDispatcher:

2018-09-11 07:28:24 stdout AttributeError: 'NoneType' object has no attribute 'status'
2018-09-11 07:28:24 stdout if state.status == 'done':
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 283, in check_pending_orders
2018-09-11 07:28:24 stdout orders = check_pending_orders(account, orders)
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 408, in place_limit_order
2018-09-11 07:28:24 stdout place_limit_order(account, pair)
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 560, in update_pair_position
2018-09-11 07:28:24 stdout update_pair_position(account, pair)
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 498, in update_account_position
2018-09-11 07:28:24 stdout new_pairs[account.name])
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/site-packages/birdtradebot-0.4.0-py3.7.egg/birdtradebot/run.py", line 543, in update_accounts_positions
2018-09-11 07:28:24 stdout self._target(*self._args, **self._kwargs)
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/threading.py", line 865, in run
2018-09-11 07:28:24 stdout self.run()
2018-09-11 07:28:24 stdout File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
2018-09-11 07:28:24 stdout Traceback (most recent call last):
2018-09-11 07:28:24 stdout Exception in thread OrderDispatcher:
2018-09-11 07:28:22 stdout 2018-09-11 07:28:22,435 - OrderDispatcher - birdtradebot.exchange - INFO - Trying to get order 40320766-1798-471b-9be2-32b72409957b, but server could not find it. Will keep retrying for 0.8158731460571289 seconds...