Account Equity and PnL Calculation for Coin-Margined Contracts

Coin-Margined Contract Equity

Equity refers to the actual net assets in the futures account.

Equity = Transferred-in Assets - Transferred-out Assets + Realized PNL + Unrealized PNL

 

Coin-Margined Contract PNL

1. Cumulative PNL

Cumulative PNL refers to the overall profit and loss since the position was opened, estimated based on the Mark Price or the Latest Price.

Cumulative PNL = Realized PNL + Unrealized PNL

 

2. Unrealized PNL

Unrealized PNL refers to the estimated profit/loss of current positions before they are closed, calculated based on the difference between settlement price and mark price (or latest transaction price), multiplied by the position size.

After opening positions, the current unrealized PNL will be displayed in the position data.

Unrealized PNL (Long) = Position Size * Contract Face Value * (1 / Settlement Price  - 1 / Mark Price)

Unrealized PNL (Short) = Position Size * Contract Face Value * (1 / Mark Price - 1 / Settlement Price)

Note: Unrealized PNL is only an estimate and does NOT affect the user's final profit or loss. The final PNL is determined by the realized PNL.

 

3. Realized PNL

Realized PNL refers to the user's profit/loss since opening the position, including the trading PNL generated from reducing or closing positions, and the paid trading fees and funding fees. If pyramiding auto-settlement is enabled, the calculation also includes the settlement PNL.

(1) Funding Fee

Funding Fee = Position Size * Mark Price * Funding Rate

Funding fees are calculated every minute and typically settled every 8 hours at 08:00, 16:00, and 00:00 (UTC+8) each day. If the market premium rate is too high, the system may dynamically adjust the settlement cycle to 4 hours or even 2 hours. The traders will only pay or receive funding fees if they hold a position at the time of settlement. 

For details, please refer to Introduction to Futures Funding Fees.

 

(2) Trading Fee

Trading fees will be charged when buying or selling contracts. The calculations are as follows:

Coin-Margined Contract Trading fee = Fee Rate * Position Size * Contract Face Value / Buy (Sell) Limit Price

 

(3) Settlement PNL

If pyramiding auto-settlement is enabled, your unrealized PNL will be settled as realized PNL during settlement (every 8 hours). If you have never enabled the feature since opening the position, your settlement PNL will be 0.

Settlement PNL (Long) = Position Size * Contract Face Value * (1 / Last Settlement Price  - 1 / Current Settlement Price)

Settlement PNL (Short) = Position Size * Contract Face Value * (1 / Current Settlement Price - 1 / Last Settlement Price)

Note: 

  • The settlement price is used to calculate both unrealized and realized PNL. It will be updated when opening positions, adding positions, or during settlement. If pyramiding auto-settlement is enabled, a different calculation method will be applied. Please refer to the article What is Settlement Price for details.
  • If pyramiding auto-settlement is not enabled, the settlement price equals the average entry price.

 

(4) Trading PNL Generated from Reducing/Closing Positions

When traders reduce their positions or close all positions, the trading PNL of these positions will be settled according to the closing price and settlement price:

Trading PNL (Long) = Position Size * Contract Face Value * (1 / Settlement Price  - 1 / Closing Price)

Trading PNL (Short) = Position Size * Contract Face Value * (1 / Closing Price - 1 / Settlement Price)

Notes:

▪ Under Isolated Margin Mode, the settlement PNL remains in the current position margin during the settlement. Profits (if any) can be manually transferred to the available balance, while the realized PNL from closing the position will be directly transferred to the available balance.

▪ Under Cross Margin Mode, the settlement PNL remains in the current position margin. If unrealized PNL exceeds the initial margin, it is automatically transferred to the available balance. The realized PNL from closing the position will be directly transferred to the available balance.

 

4. Profit & Loss Rate (PNL%)

The current PNL% of the user’s open positions is estimated based on the mark price or the latest price.

PNL% = Total PNL / Initial Margin

 

 

🔗 Explore More

Fee Structure for Coin-Margined Contracts >>

Coin-Margined Contracts Trading Rules >>

Leverage and Margin Explanation for Coin-Margined Contracts >>

Disclaimer: The content provided on this website is for informational purposes only and does not constitute investment advice. The information provided is not intended to be a substitute for professional financial advice, consultation, or recommendations. Users are encouraged to consult with a qualified financial advisor before making any investment decisions. The website owners and authors do not assume any liability for any loss or damage that may result from reliance on the information provided. All investments carry risk, and past performance is not indicative of future results.