Lakshmi-1212 / TriangularArbitrageCryptos

116 stars 73 forks source link

HTTPError: 400 Client Error #3

Open giraldoluca opened 2 years ago

giraldoluca commented 2 years ago

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 commented 2 years ago

Same for me !

userpyx commented 1 year ago

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 commented 6 months ago

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.