Hello T212 Team,
I have query on how you calculate average price of position on stock.
I have example MAC, where I bought 20+20+20+10 stocks.
Total Average is 23.80$, now I sold 60 for their average price, which is 23.95$. Remaining with 10 lowest priced MAC stock. 22.85$
However average price still shows average of 70 MAC stock combined. 23.80$
One would expect to show average price of current position rather historical average of all purchases. This gives completely wrong picture on actual gain/loss.
I sold 60 for 0.01$ gain baised on FIFO approach, their average was 23.956666 i sold for 23.95.
Remaining 10 are paid on 22.85, one would.expect Average price is 22.85 as i only have 10 stocks left via FIFO those are 22.85$ paid.
See screenshots below of the details: