For the calculation of Unrealized Profit/Loss, Last Traded Price is used instead of Average Entry/Exit Price. Traders can always check the Unrealized Profit/Loss at "Assets" page as well as on the "Positions" tab in real-time.
For long position:
A trader buys 4,000 BTCUSD contracts at 5,000 USD, with the Last Traded Price at 5,500 USD.
Unrealized Profit = 4,000 x (1/5,000 – 1/5,500)
= 0.07272727 BTC
For short position:
A trader sells 4,000 BTCUSD contracts at 5,000 USD, with the Last Traded Price at 4,500 USD.
Unrealized Profit = 4,000 x (1/4,500 – 1/5,000)
= 0.08888889 BTC
What is the unrealized PNL% percentage displayed in the position area?
The percentage of unrealized P&L shown in the position's holding area reflects the current rate of return in percentage using the position margin at the last traded price and is not the actual P&L on the position. When the trader moves the mouse over to the unrealized P&L, it will display the unrealized P&L calculated based on the mark price.
Unrealized P&L Percentage = Position's unrealized P&L / Position Margin
Position Margin = Initial Margin + Closing Fee
Initial Margin = Contract Value / Leverage (Use the maximum available leverage when calculating the initial margin in the Cross Margin mode)
Closing trading fee = (number of contracts / bankruptcy price) x Taker fee (0.075%)
Unrealized P&L (long) = contract quantity (1 /entry price -1 /last traded price)
Unrealized P&L (short) = contract quantity (1 /last traded price -1 /entry price)
At the 'Positions' tab, the unrealized P&L percentage indicates the percentage of your current unrealized profit/loss with respect to your position margin.