Profit calculation not good in trading bot

Bug info:
Question 1:
At this moment I have 3 deals in 1 bot closed:

If I calculate this its: 4,12% profit

But in the first screen of the bot its: 4,67% profit

How can this be different?
Or otherwise I would like it to be correct.

Question 2:
In the telegram notifications the deal close is only shown with the last order closed (in my case the SL order) But I have more TP in the bot. With profits or losses.
Could the PNL of the deal close could be the whole PNL of the deal, I think that is also the correct way.
If thats not possible, can we have an extra checkbox in the telegram notifications? Maybe total deal pnl?




Now if I see the tlgr message I still don’t know how much profit or loss I always have to go to gainium and calculate it bij opening the deal.

Thank you so much

  • Bot URL → Gainium app

  • [Optional] Steps to reproduce →

  • Expected result →

Hmmm maybe an interesting thing.

Q1: My deal is set at open for USDT 100 per deal, 1 deal open at a time only possible.

Now I see one deal that opened with USDT 200? maybe the miscalculation is somewhere about this?

Q2: is still about the telegram … see above still a question / bug

@maksym.shamko maybe we can add one more item in the notification for “Deal Events” and include notification for partial TP, and on the last TP the whole profit of the deal?

2 Likes

balances problem with partially filled orders.

Also wrong calculation of pnl% on closed deals that has reduce orders. Fixed.

2 Likes