Unnecessary Warning: Cannot start when existing position not met bot settings

Bug info:
I have a long and short bot on 1 exchange active, and I understand that they can’t have a deal active at the same time (unless hedge is on, which I don’t).
My short bot now has a deal active, but I now occasionally get a notification from my long bot that it cannot start the deal because the short deal is in progress. Which I would understand if the long bot actually started a deal, but looking at the chart it does not meet any of the requirements to start a deal, and so the bot is stopped for no reason.

Notification:
15-7-2024, 16:14:26
Bot warning
Warning: Cannot start when existing position not met bot settings. Side in active position is SHORT, but bot will open LONG. Symbol: BTCUSD

  • Bot URL →
    short: 668fdd6f401e1c68a5b11a5d
    long: 668e70382df760ac1738b9e5
  • [Optional] Steps to reproduce →
  • Expected result →

This problem can also possibly be avoided by limiting the max number of deals per linked exchange.

1 Like

I see the short deal has closed, but the long bot is still off. Whereas I had turned it on yesterday, but I can’t get it back on either. When I press start nothing happens, in the eventlog nothing can be seen of the start actions I just tried.

I have the same issue currently, no idea on the resolution though so hoping someone has one?

I have recreated my bots with hedge turned on for the exchange, see if it works better this time

For the time being, I have divided my bots into 2 subaccounts.

That looks if the bot expects hedge mode to be enabled for deals on spot, is it!?

Response from Maksym:

Since futures settings, such as margin type, leverage and side are global in bot, bot set up position at bot start. If active position doesn’t meet these settings bot wont start.

When user started long bot, short deal was already started, so bot doesn’t pass the position check