question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

APIError(code=-2010): Account has insufficient balance for requested action.

See original GitHub issue

For some reason I don’t understand yet - it could not sell the 2563 CKBUSDT it bought… through the binance interface i could only sell 2560 (but in the history it did buy 2563) … does that make any sense?

CKBUSDT has gained 5.143% in the last 5 minutes, calculating volume in USDT
 preparing to buy 2563 CKBUSDT
TP or SL reached, selling 2563 CKBUSDT...
APIError(code=-2010): Account has insufficient balance for requested action.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
Eugniscommented, May 12, 2021

Better to receive current fee percent from binance with API, because it can be different for different users https://python-binance.readthedocs.io/en/latest/binance.html#binance.client.Client.get_trade_fee

And just calculate it including that fee

2reactions
rodrigogscommented, May 15, 2021

Fixed, you just need to have some BNB

Read more comments on GitHub >

github_iconTop Results From Across the Web

Binance API - Account has insufficient balance for requested ...
Solution: Simply match or reduce the amount in your code that you are trying to SELL to match the amount in your exchange...
Read more >
Account has insufficient balance for requested action
BinanceAPIException: APIError(code=-2010): Account has insufficient balance for requested action. I am trying to market sell . order = client.order_market_sell( ...
Read more >
APIError(code=-2010): Account has insufficient balance for ...
When I use the simple code in the demo, I get the following error. ... APIError(code=-2010): Account has insufficient balance for requested ......
Read more >
APIError(code=-2010): Account has insufficient balance for ...
i receive error : APIError(code=-2010): Account has insufficient balance for requested action. could someone help me deal with it ? The amount ...
Read more >
APIError(code=-2010): Account has insufficient balance
binance.exceptions.BinanceAPIException: APIError ( code =- 2010 ): Account has insufficient balance. 119 views 5 months ago. Bangladeshi Bitcoin.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found