Closed positions calculations

I would like to clarify about the closed positions calculations
Day 1 : bought 5000 shares @ 0.945
Day 2 : bought 5500 shares @ 0.925
Day 3 : bought 10000 shares @ 0.94 with total (including fee) = 5412.72
Day 3 : same day sell 10000 shares @ 0.92 with total (including fee) = 5187.75

At day3 , by right i should only incurred loss about = 5412.72-5187.75 = 224.97 , but at closed positions screen : i incurred loss = -2,251.77 .

Please clarify related to this ?

Regards,

Hadi Teo

Hi Hadi,

This is similar to this post => Weird calculation of the average price

The closed position is based on average price instead of LIFO (i.e. last in first out).
Therefore P&L for the closed position is sell price - average price = (0.52 - 0.744) x 10,000 = -2240

Again, I am skipping fees in the computation for simplicity.

Cheers,
Evan

Thank you Evan for the detailed calculations

1 Like