Trading bot takes more base order then has been set?

Bug info: My base order is USDT100

But the bot takes sometimes USDT100 but sometimes also USDT200?
How is this possible?

Also strange is the value.
And there is a minus Base?
And the usage of 1% I really don’t understand I have 1 deal 1 base of USDT 100 ?

Order created at 7.30 seems to be fine with USDT 100


Scherm­afbeelding 2024-10-04 om 09.19.16



ID deal: 66ff7d5ce071ed8dd5e78199

  • [Optional] Steps to reproduce →
  • Expected result →

Its because you have enabled Rescue partially filled orders.
In bybit spot its very common when base market order not filled with full required qty. We added an option called Rescue partially filled orders. If base not fully filled, and unfilled amount less then exchange minimum requirements, bot will place another order again with full amount. We did it, because when user choose base order size too low, bybit behaviour could lead to unable to bot close the deal at all, because of minimum order size limits. In your case 100 is more than enough to close the deal, even if it wont be fully filled.
I suggest to turn off that option, and enable it only if order size below 10 usdt for bybit.

2 Likes

Ah I see thank you Maksym, I am learning every day. I will do that :100:

What do you think, would it delay the closing of a deal too much to instead automatically add funds to the deal at close if a deal cannot be closed due to the minimum requirements of an exchange?

We should not even attempt to rescue orders when volume is above 20USDT. Can we disable it in those cases?

This is only one example with stable coin. I’d prefer not to hardcode volume, we don’t know all current values, and we don’t know future values, when and how much exchange will change their requirements.
It will add layer of complexity and responsibility to the feature.

It wont work. First is delay, second unforeseen PnL.

But at least we can make the rescuing order always the exchange minimum so users don’t end up with double the base order.

1 Like