How is Unrealised P/L calculated?

Unrealised P/L (Profit/Loss) is calculated by aggregating all the live open trade positions