Closed trade: wrong profit/loss

I am just starting with the software.
I added 4 transaction of the same security.
I have a closed trade, 3 buys, 1 sell. This should show with a little loss.
But is shows a profit.
The sum of the buy trades is not what is in the Entry Value.
The sell value is not what is in the Exit Value.

Is this a bug or do I miss something?

What is your reporting currency? Not USD probably?

Indeed, reporting in EUR
So the profit is a forex gain?
But if buy with USD en sell in USD you don’t have forex profit…
Also sell order in EUR is way to high at current USD-EUR

Of course you have, because the USD-of-now are worth more than the USD-of-the-past.

Hello Chirlu,
I don’t agree, because I only have profit in EUR from USD being higher if I convert the USD to EUR when I sell the securities.
But I didn’t sell the USD, it was send to my Cash Account in USD.
So for me the trade should be shown as a loss

When your reporting currency is euro and your trade is in USD, you must have changed Euros to Dollar before the trade. And this is where your profit comes from.

I found it, my reporting currency was CAD, that explains the large difference between SUM buy USD >< Entry Value (CAD but not visible)