Unrealized PnL

Your unrealized PnL is the profit or loss that has accrued to your position either since it was opened, or since the last settlement epoch (whichever occurred more recently).

Unrealized_pnl = position_balance * position_side * (mark_price - position_avg_entry_price)

position_side = 1 (long), -1 (short)

Total Unrealized PnL is the unrealized PnL across all positions.

Position balance is the size of your position (i.e., 1 ETHPERP).

Last updated