Bybit subaccount Double base orders

Bug info: Strange issue with all my bots running on a subaccount on Bybit, everytime it places an order, there will be placed 2 BO’s at Bybit. Also happens when I manually start a new deal. Because of this I get lots of errors during the day running out of funds, thats why I found out the double orders.

In the screenshot below you’ll see multiple double buy orders at the exact same time.

It seems that running a similar bot on my main bybit account doesn’t have this problem but all my 3 subaccounts have.

Was thinking, is there some sort of delay in the sub-acc api and the bot replaces the order to fast? Will try to change the order type from market to limit in a bit.

Seems that when using Limit orders everything works as aspected, so for now I’m switching to Limit but still think there’s some bug around market orders with a sub-account.


The option caused double orders called rescue partially filled orders

The problem with bybit (sometimes kucoin, but mostly bybit). Buy market order could be executed but not fully filled, and the difference between estimated and filled often is the minimum step.
When using too smal order sizes (1 USDC, for example) it could lead to bot to unable to close the deal, because of minimum order size. So we added an option, that will force bot to buy again, to be able to close the deal.
In your case order size is more than enough, so even if base order won’t be fully filled, it will be enough to close the deal. So you can return start order to be Market, but turn off the option.

2 Likes