enarjord / passivbot_binance_isolated_margin_legacy

trading bot running on binance isolated margin
84 stars 30 forks source link

Repaying issue #4

Closed netasolutions closed 3 years ago

netasolutions commented 4 years ago

Hi, If balance is not enough to repay all debt of an altcoin it stucks there and waits for available balance. maybe we should think of repaying partially?

ERROR margin ADA/BTC create_margin_bid insufficient funds; schedule balance update

netasolutions commented 4 years ago

Bot still continues to work but on that alt coin it always try to bid whole debt amount and couldnt execute because of insufficient funds.

enarjord commented 4 years ago

hello, thanks for commenting

does it get the insufficient funds error continuously, or sporadically once in a while?

i've looked it over, it should be doing partial repays...

some issues were fixed a couple of days ago, are you running latest version?

netasolutions commented 4 years ago

Hello, thanks for fast response. I pulled last changes few hours ago it happened 1-2 times after pulling the last changes. I will monitor carefully. Also i am planning to create a dashboard to check logs and trades more detailed. maybe i will start next week. I will send you repo url for the dashboard if i have enough time to develop. by the way it seems really nice strategy. I want to help to improve more.

enarjord commented 4 years ago

thank you, appreciated

sometimes the bot will get an insufficient funds error because an order was just taken, but local balance is not updated yet. that is normal