Profit calculations trading not correct

About the profit calculation in the trading bot (but maybe also in other bots)
I have for example
TP1-TP2-TP3 and a close SL/TP

In the profit calculation its only the last deal (in this case the SL) which is calculted:

As you can see here its only the last SL order in the profit…

But there were also TP1 and TP 2 (with a gain or loss)

So the profit as seen on the first picture is not calculated correct. Should it not be the profit of the total deal. Now sometimes I think / see that the deal was closed in for example minus. But when I open the deal and also add the TP1 and TP2 for example I could be in the plus.

Anyways I think it should be presented as the total deal. Not only the last order in the deal or the last closing SL deal.

And it also would be great that the telegram notification would also show the profit of the total deal.
If this can be corrected it would be perfect and way more realistic or actually the real thing.

In below bot URL there are more examples of deals. But it does not matter only the last sell / SL will be calculated not the total deal.

Bug info:
Deal: 66fccc4a90a07c0253791604

  • Bot URL →
    Gainium app

  • [Optional] Steps to reproduce →

  • Expected result →
    Hopefully a profit shown for the total deal not only the last sell/tp
    And Telegram also would be great.

1 Like

Fixed. Will be deployed tomorrow.

2 Likes

Thank you :100: