Lots of ppl running short spot bots and facing Not enough balance errors.
Although the general advice going around is to ignore the error its better to understand why it keeps happening.
You can easily understand it based on the images and how base required to run the short bot changes as base order price of short deals changes.
Lets take the short bot settings everyone uses let’s say BO Price is 100$
This needs 1.07 base qty which is bought at beginning of the short as in the top image
Now assume number of short deals close and new BO Price is 75$. As seen in the bottom image the new base qty needed for the entire short deal is 1.43
Basically a short deal started at -25% lower price need +35% more base to not run into any errors
Reason being more base is needed to make up the 5.5$ order when price goes lower.
At 100$ BO price you need 0.06 base qty while at 75$ BO Price you need 0.07 base qty.
As the TP of short is in USDT you will eventually run into the errors when you short the bottom.
We have introduced some changes in short bots that hopefully will make it easier to estimate the real cost of the necessary base. For those who frequently run into errors because the base has lowered in value, they should set a price filter to not open deals under the average price.
Currently, it’s up to the user to buy enough of the volatile currency to ensure that the deals can execute all of their configured orders. There is nothing automatic that prevents deals from starting if it’s not available, or to get it in advance, although buying more of a volatile currency at a different price will skew the deal’s statistics and is likely to cause problems when it comes to closing the deal again.
Before, if you set the order reference currency in USDT and have one base order + 4 DCA at $10 each, it would have shown the total per deal as 50 USDT. While that is technically correct, the confusion is that you need more than 50 USDT worth of base today. 50 USDT is the value invested, but as you need proportionally more base as the price goes down, we now show the total base needed and the cost to buy it at the current price, so even if your deal technically was configured to use 50 USDT worth of base, acquiring that base at the current price will cost more.
Correct, if the bot doesn’t have a static price filter and it’s allowed to sell under average price, it will be hard to know in advance how much base is needed and the user should replenish it by themselves. Though buying base on error is not a great strategy, then you are buying to sell right away, incurring unnecessary fees, ideally the base should be bought at lower prices ahead of the bot needing it.