austinyearlykim/wolf

Sell error bug: account has insufficient balance for requested action

Closed this issue · 6 comments

Hello,

Queue: 0 Watchlist: 1 [ALARM]::: Price dipped below PROFIT_LOCK_PERCENTAGE while in paranoid mode. Selling.
Queue: 0 Watchlist: 1SELL ERROR: Account has insufficient balance for requested action.

I had 155 units, Binance took .15 of them as transaction fee, leaving me with a whole number of 154 left. I believe Wolf was trying to sell 155 units or 154.85 units. When I went into Binance app, I was only able to manually sell 154 of the 155 Wolf purchased. I think this has to do with rounding. Is there a way to decrement the number of units attempted to be sold if that sell error occurs so the sale still happens?

Thanks!
Alex

Great find @awalch23,

I'll be sure to include a fix for this in the next release!

Thanks! This is a great app and well written JavaScript.

Hi @awalch23,

Thanks again for you making such a detailed bug ticket. It really helped alot. Please:

git checkout buy-limit-feature
git pull

I believe I fixed it. Let me know if the problem arises again and/or this fixes it.

Best,
Austin

Woohoo, can't wait to try it out!

going to close this ticket and focus attention on the other bug ticket that has the same issue! see you at #66 !

Thanks! I'll give this a try when I get a chance.