Bug info: How can this be possible on a bot that allows only 1 open trade and sell and buy with 100%?
The bot had been running for some time before this happened.
- Bot URL → Gainium app
- [Optional] Steps to reproduce →
- Expected result →
Bug info: How can this be possible on a bot that allows only 1 open trade and sell and buy with 100%?
The bot had been running for some time before this happened.
We have received your bug report and will update you shortly. Thank you for providing the bot URL. We appreciate you taking the time to report this issue.
Min order size on the exchange is 5usdt.
Yes, but that can not be relevant. The bot has made trades before and can not buy again before selling 100% of the available funds, which is $166.
Please look into the whole situation before commenting on the problem.
As I see it, this situation can only appear if the sell has been completed but that information has not been registered by Gainium, yet.
The bot below experienced the same problem.
https://app.gainium.io/bot/67d144a7321d023a655f76fe
The screenshot in the description is not belongs to the bot in the description.
Available 1.5usdt, base order increased to 5 usdt. Therefore not enough balance.
I can’t find the bot by the name.
I’m here to fix technical problems, I’m not able to investigate your full account.
For Gainium, we do not care about your balance updates. To start the deal we do the check of balances with direct exchange call, not using our cached data, to prevent any problems related to updates delay.
Not enough balance to place order error is not our side. This happened when exchange rejected the order with corresponding reason. In this message balances in the message are used from our side cache, so it might be not accurate. However, in your message the balance is accurate.
I suggest to not use 100% of quote balance. Because, we send orders in base assets, so to place order we first check latest price, then calculate base qty and then send order to the exchange. While all these actions are made, the price could be slightly changed and your quote balance would be not enough.
Didn’t I send you the link to the bot in the screenshot?
I have renamed the bots to make it easier for me to tell them apart since I have quite a few active bots in the list and there is no way of grouping them.
I believe I have sent you a number of screenshots with error messages saying that there is not enough funds even though the demand is lower than what is available.
BTW I don’t let the bots use 100%, but only 99.5%
Not enough balance to start deal and not enough balance to place the order is different messages. In the message above I explained why in not enough balance to place order you may see strange balance. However, the error is not produce by the Gainium, its produce ny the exchange.
I don’t understand. I start the bot which makes the bot start looking for a lower MA crossing where it will send the buy order to the exchange. If start and buy are not the same thing why would there be a need for starting’?
Start deal and start bot is different.
When deal start triggers bot checks current balance, then placed base order.
I already explained why market order with 100% of quote could lead to deal create but error while placing base order.
So are you saying that the problem is the delay between “order placed” and “order executed”?
When I look at the graphs of my bots work there is usually a delay of 2-4 minutes between trigger point (MA cross) and order execution but when I click sell (or buy) directly on Binance it goes much faster. 2-4 minutes in crypto dealing is like an hour in the stock market. The crypto price can easily jump 10% in 4 minutes. This can’t be the way the professionals trade.
Follow-up question: What happens when the error message is triggered? Will anything stop or will the bot just wait for the next trigger point?
I alerady exaplined to you problmatic with 100% of quote
if there are any delays beween those event they happened on the exchange side, not our side
This is not a delay. We confirm crossing on the next candle after cross, when the candles are close.
Example, ema 1 lower ema 2 at 11:00, ema 1 higher ema 2 at 11:01. Trigger will be at 11:02, when both previous candles are closed and we can confirm it.
It depends on the error
If not enough balance to start the deal, than no deal was created and bot will wait for the next trigger
If not enough balance to place an order, than deal was created and using available slot of max deals.
I explained in details how it works. Hope it will be clear, because I have nothing to add