The first trade taken is the first trade exited for PnL purposes leaving me an average price representing all other open positions since I was last flat. Each exit takes the next entry in order for purposes of account realized PnL purposes and the recalculated open position average price and hence the open position PnL is correct.
In the event I have open positions I only want to know what gets me to breakeven on those positions, not some prior trades as those prior trades are already reflected in my realized PnL, so I may have had a different issue to start with. With the FIFO option checked, the math for my trades balances perfectly.
Comment