Closed keelroy closed 3 years ago
Hi, this could be a simple rounding error but first things first: Is your Binance account set to use BNB for trading fees? The recommendation is about $5 USD worth to start.
Yes, it is checked. Now i convert more $20 to BNB, and run bot again...
Problem solved. Buy more BNB! :)
If not enough bnb in stock, binance take the fee, but the bot can't see this.
[2021-05-18 21:15:27] Preparing to buy 52.8 DNTUSDT [2021-05-18 21:15:27] Binance is being slow in returning the order, calling the API again... [2021-05-18 21:15:29] Binance is being slow in returning the order, calling the API again... [2021-05-18 21:15:30] Order returned, saving order to file [2021-05-18 21:15:30] Order with id 123689936 placed and saved to file [2021-05-18 21:15:38] not enough time has passed yet...Session profit:2.06% [2021-05-18 21:15:39] TP or SL reached, selling 52.8 DNTUSDT - 0.28397 - 0.27805 : -2.08% [2021-05-18 21:15:39] APIError(code=-2010): Account has insufficient balance for requested action. [2021-05-18 21:15:51] not enough time has passed yet...Session profit:2.06% [2021-05-18 21:15:51] TP or SL reached, selling 52.8 DNTUSDT - 0.28397 - 0.27529 : -3.06% [2021-05-18 21:15:52] APIError(code=-2010): Account has insufficient balance for requested action.
I log in Binance and check, I have only 52.7472 DNT. The script just continously try to sell, but got error. Exit, and manualy edit coins_bought.json 52.8->52.7 Re start the sctipt, it can sell the coin.