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

Can't load binance #22495

Closed
stash86 opened this issue May 15, 2024 · 2 comments · Fixed by #22496
Closed

Can't load binance #22495

stash86 opened this issue May 15, 2024 · 2 comments · Fixed by #22496
Assignees
Labels

Comments

@stash86
Copy link

stash86 commented May 15, 2024

Operating System

Ubuntu 22.04

Programming Languages

Python

CCXT Version

4.3.22

Description

Get this error when trying to start the bot

  File "/home/ubuntu/freqtrade/.venv/lib/python3.11/site-packages/ccxt/binance.py", line 9321, in fetch_positions
    return self.fetch_positions_risk(symbols, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/freqtrade/.venv/lib/python3.11/site-packages/ccxt/binance.py", line 9393, in fetch_positions_risk
    self.load_leverage_brackets(False, params)
  File "/home/ubuntu/freqtrade/.venv/lib/python3.11/site-packages/ccxt/binance.py", line 9041, in load_leverage_brackets
    return self.options['leverageBrackets']
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'leverageBrackets'

Downgrading to 4.3.16 fixed the issue.

Code

  

@stash86
Copy link
Author

stash86 commented May 15, 2024

@sc0Vu sc0Vu self-assigned this May 15, 2024
@sc0Vu sc0Vu added the bug label May 15, 2024
@sc0Vu
Copy link
Contributor

sc0Vu commented May 15, 2024

@stash86 thanks, we'll fix this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants