How to calculate Profit/Loss for a particular stock using orders or account activity

Access to Closed Positions replied there