As you can see, there is no clean buy / sell on one line item for the same value, and the sell of the final 150k shares will have an average buy in price to calculate the P&L against.
Do you split it into two line items or just calculate the P&L based on the average buy in?
If anybody could providee any templates that accomodate this style of trading it would be greatly appreciated