Market Value: Position size x Current market price
Average Price: Total amount of initial investment / Position size
Cost Basis: Purchase cost + commission + transaction taxes and other charges
Unrealized P&L: Market value - Cost basis
Realized P&L: Actual profit or loss for the day, since the prior close