I’m checking your bot and don’t understand your problem. Buy and sell orders placed after deal started (order id that starts with CMB-BO is deal start order). There are no delays whatsoever.
Can you explain what do you mean by order did not arrive at exchange? Is not visible in the app or in the exchange? I can see in the logs that orders are arrived and accepted by the exchange.
So, these lines “Order created” mean that order was created in Gainium, sent to Bybit and accepted by Bybit. I can see it in logs, the exchange responsed with order id and status NEW.
Where did you check that order not arrived in bybit? Is it bybit app or web? Did you try to refresh bybit page?
Okay, but is there a idea how I can prevent those liquidity grabs in the bot?
I don’t want a higher stop loss setting because the lower profit in backtesting. But it happened the third time the liquidity grab is hitting the bots SL on max. DCA and moved up after.
I don’t think it’s possible. Like maksym said the bot doesn’t receive candles, it receives real time prices that can change in mili seconds. Candles are formed after the fact. The bot cannot possibly know what the body of the candle is before the candle has formed.
What you propose is a dump protection, where there could be a delay before triggering the stop loss. If after the delay the price has recovered then it won’t execute it. You can make a feature request for that.