Combo Bot not taking Profit at defined Level

Hi,

I wrote below bug report two days ago but didn’t sent it.


Bug info:
Bot ID: 6778047898ed581f79bd0e9b
Hi,

I have a short bot (SS attached) where Take Profit is defined as %8. Current Value, Grid Profit is around %11 (already exceeded %8) but it didn’t close the deal.

Can we check?

Thanks

  • Bot URL → Gainium app
  • [Optional] Steps to reproduce →
  • Expected result →

Before I send it, I saw your message regarding similar topics on the right (which is brialliant :slight_smile: where it says, sometimes this happens and you always suggest “restart” and it works. So I left this bug request in the drafts and used restart. It worked.

In most of the cases that I saw in similar topics, there was always a kind of high volatility, btc dump/pumps and/or there were some servers issues, etc. So I decided to monitor it.

Yesterday during the btc/market dump same thing happened on two more bots (a combo variation of hunter dca hedge strategy). There “Take Profit” levels are set to %8 like the one above. System didn’t close the deal so I restarted

but then while waiting for the 3rd deal on SOL to come %8 level, I checked bybit trade screens, there were dca orders for both the long and short bots but no TP order existing (either Bybit rejects the TP orders of Gainium for this case, or Gainium does not sent them (a bug maybe) or something wrong with my settings) Below are the Screenshots I got

and there is no TP order at around %8 Level on Bybit (should be between 207$-208$)

Didn’t restart immediately this time, waited for the market to slow down. Price went up and down a couple of times around set TP of %8 and it didn’t close the deal so I did the restart manually.

SOL Bot ID: Gainium app

I hope this helps to understand the problem. While we (I have a friend running the same config as well) were backtesting this bot on Binance Paper, we didn’t see a case like this and decided to %8 as it was giving the most optimized profit. Now that we started with Bybit affiliate link, it seems there is an issue. Please help :slight_smile:

Thanks in advance.

Hi Hamdi,

Thank you for providing us with such a detailed bug report regarding your Combo Bot’s behavior. We’ve received your message and the information you provided. Our team will review it thoroughly and get back to you shortly with an update.

In the meantime, if you experience similar issues again, feel free to reach out with additional details or screenshots. We appreciate your patience and feedback as it helps us improve Gainium for everyone.

Thanks again for your understanding!

Best regards,
The Gainium Team

Hi Hamdi,

Thank you for the detailed report and for sharing all the insights and screenshots. We appreciate your patience while we investigate this issue further. Our team is reviewing the situation and will provide you with an update tomorrow.

Thank you for your understanding!

Hi Hamdi,

Thank you for your detailed report and patience! The issue was identified as being related to a mismatch between the opposite strategy and profit currency calculations. We’ve updated both the bot and the app to ensure these calculations are now properly aligned.

This should resolve the issue, but if you experience any further problems, please don’t hesitate to reach out.

Happy trading! :blush:

1 Like

Hi again,

It seems the problem is back again. My TP for my short bots is %8 but it is not taking profit.

Example Deal ID (xaiusdt): 677eb666103f7444097541ae (I tried a restart before I wrote this message. It initially didn’t work as well but just before I send this message, restart worked so

Let me give you another example (live deal id (dotusdt): 677eb486103f744409750977) where I will not restart so you can analyze a live bot with TP > %8. Of course if it goes up and makes another dca then the percentage will change (maybe below %8) but the case stills stands

Thanks for providing all the details!

The issue you experienced with the Take Profit (TP) not being triggered has been addressed. While your previous restart workaround helped in some cases, we identified an additional root cause related to TP/SL calculations when a mini-grid has only one level. We’ve now updated how these calculations are handled to prevent this from happening again.

Please keep an eye on your bots after this fix, and let us know if you encounter anything similar. Your thorough insights were very helpful in diagnosing and resolving this!

thanks for the response and resolve :slight_smile:

Do I need to restart bots for this change to apply?

Cheers

No. no actions are required from your side. This update will be included in next release.

1 Like

thanks Maksym, we love you :slight_smile: