Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception buffered_orders: 'NoneType' object is not subscriptable #68

Closed
DogsTailFarmer opened this issue Nov 24, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@DogsTailFarmer
Copy link
Owner

  • Version 2.0.0.post1
  • OS: Ubuntu 22.04
[2023-11-24 05:49:05,986: ERROR] Exception buffered_orders: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/martin_binance/margin_wrapper.py", line 1122, in buffered_orders
    await cancel_order_handler(_id, cancel_all=False)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/martin_binance/margin_wrapper.py", line 1455, in cancel_order_handler
    cls.strategy.on_cancel_order_success(_id, cancel_all=cancel_all)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/martin_binance/executor.py", line 2904, in on_cancel_order_success
    if self.check_min_amount(amount=_order['amount'], price=_order['price']):
TypeError: 'NoneType' object is not subscriptable
@DogsTailFarmer DogsTailFarmer added the bug Something isn't working label Nov 24, 2023
@DogsTailFarmer DogsTailFarmer self-assigned this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant