PNL (Profits and Losses) — PnL stands for profit and loss, and it can be either unrealized or realized:
Unrealized — When you have open positions on a perpetual futures market, your PnL is unrealized, meaning it’s still changing in response to market moves.
If the position of the trader is long:
UnPNL = (Last Traded Price - Entry price) *q / Tick Index
If the position of the trader is short:
UnPNL = (Entry price - Last Traded Price)*q / Tick Index
Where the q - quantity of contract in position
Realized — When you close your positions, the unrealized PnL becomes realized PnL. PnL refers to the profit or loss that originate from closed positions and it depends from Entry Price and Exit Price.
If the position of the trader is long:
UnPNL = (Exit Price - Entry price) / qTick Index
If the position of the trader is short:
UnPNL = (Entry price - Exit price)qTick Index
Where the q - quantity of contract in position