Portfolio value is calculated separately for each margin wallet by adding the account balance to the profit or loss from open positions held within the wallet:
Portfolio Value = Balance Value in USD + Profit or Loss from Open Positions
This calculation happens in real-time and you can view this on the Balances panel as the market moves.
We calculate the profit or loss from open positions based on our estimate of the current price of the instrument:
For inverse Derivatives, profit or loss is calculated as:
Profit or Loss from Open Positions = ( 1 / Entry Price - 1 / Current Price ) * Position Size
For linear Derivatives, profit or loss is calculated as:
Profit or Loss from Open Positions = ( Current Price - Entry Price ) * Position Size
We continuously update our estimates of current instrument prices based on current spot prices (as given by our real-time indices), and our estimate of the current forward premium or discount:
Mark Price = Index Price + Current Forward Premium or Discount
We calculate the current forward premium or discount as the percentage deviation of the instrument's current mid price from the spot price. The maximum permissible premium or discount is capped at 1% for Derivatives with 1 day to maturity and 20% for Derivatives with 210 days to maturity and is linearly interpolated in between (perpetual derivatives, which do not expire, have a premium cap of 1%).
Note that our estimate of current instrument prices is used only for margin management and does not affect your actual profit or loss once a position is closed out or settled.