Profit calculation:

Transaction dateCodeNameNo. of sharesPriceValueAverage CostProfitLossNet Profit