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

HTTPError: 400 Client Error #3

Open
giraldoluca opened this issue Jun 14, 2022 · 3 comments
Open

HTTPError: 400 Client Error #3

giraldoluca opened this issue Jun 14, 2022 · 3 comments

Comments

@giraldoluca
Copy link

Hi, I have encountered these 2 errors, in the execution of the code.

The balance cannot be insufficient in the account because I use $ 100 as proof


HTTPError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/ccxt/base/exchange.py in fetch(self, url, method, headers, body)
616 self.logger.debug("%s %s, Response: %s %s %s", method, url, http_status_code, headers, http_response)
--> 617 response.raise_for_status()
618

12 frames
HTTPError: 400 Client Error: Bad Request for url: https://api.binance.com/api/v3/order

During handling of the above exception, another exception occurred:

InsufficientFunds Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/ccxt/base/exchange.py in throw_exactly_matched_exception(self, exact, string, message)
2793 def throw_exactly_matched_exception(self, exact, string, message):
2794 if string in exact:
-> 2795 raise exactstring
2796
2797 def throw_broadly_matched_exception(self, broad, string, message):

InsufficientFunds: binance Account has insufficient balance for requested action.

@AnatoleT
Copy link

Same for me !

@userpyx
Copy link

userpyx commented Jun 13, 2023

Hello, I have the same issue: 'ccxt.base.errors.InsufficientFunds: Balance insufficient!'
The first 2 trades of the arbitrage opportunity are taken but not the third one!

@kerepuki
Copy link

kerepuki commented May 14, 2024

I'm also encountering this error. Any suggestions?

.InsufficientFunds: binance Account has insufficient balance for requested action.

What I've found is the first trade executes and exchanges from USDT to symbol but then it fails.

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

No branches or pull requests

4 participants