How is Realised P/L calculated?

Realised P/L is calculated by aggregating the value of all closed trades over the period.