PNL Analysis Overview
CoinEx's PNL Analysis provides a comprehensive analysis of daily trading data. You can view your asset statistics by account, time, and other options. This feature helps you examine the earnings of each account, produce efficient analysis, and position yourself well to find the most suitable investment strategy.
Features highlights:
1. Comprehensive analysis of daily trading data, which users can filter by account type to view profits and losses for all accounts, including spot, margin, futures, financial, and market-making accounts.
2. A proprietary algorithm for transaction statistics and position PNL analysis, generating trading statistics systematically by asset trend, cumulative income, daily income, rate of return, and other data in weekly, monthly, quarterly, and other intervals.
3. Sharing your customized PNL analysis poster with one click.
Access:
- Web: CoinEx navigation bar > Assets - Asset Overview > PNL Analysis
- App: CoinEx App > Assets > Today's PNL >
Account PNL Calculation
1. Total Assets under Account: Daily PNL = Current Total Assets - Total Assets at 00:00 on the Day - Net Deposits on the Day - Net Transfers on the Day
2. Spot Account: Daily PNL = Current Total Assets - Total Assets at 00:00 on the Day - Net Deposits Today on the Day - Net Transfers on the Day
3. Margin Account: Daily PNL = Current Net Assets in Margin Account (Account Equity) - Net Assets in Margin Account at 00:00 on the Day - Net Transfer Assets to Margin Account on the Day
4. Futures Account: Daily PNL = Current Total Assets in Futures Account - Total Assets in Futures Account at 00:00 on the Day - Net Transfer Assets to Futures Account on the Day
5. Financial Account: Daily PNL = Current Total Assets in Financial Account - Total Assets in Financial Account at 00:00 on the Day - Net Transfer Assets to Financial Account on the Day
6. AMM Account: Daily PNL = Current Total Assets in AMM Account - Total Assets in AMM Account at 00:00 on the Day - Net Injected Liquidity Assets on the Day
7. Notes:
(1) PNL data is based on UTC+0 time zone, and data maintenance is carried out on a daily basis from 0:00 to 2:00 (UTC+0). During this period, Today's PNL will not be displayed, while other PNL data will adopt historical data before maintenance. All data will be displayed normally after the maintenance.
(2) Due to the complexity of financial data, there might be errors and delays. The PNL data is for reference only.
✏️ For other calculations, please visit the PNL Analysis page >>
How to Calculate PNL in Futures Trading
1. Total PNL
Total PNL refers to the user's total profit/loss since opening the position, estimated using the mark price or the latest transaction price.
Total 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. helping traders dynamically assess their current profits and losses. The calculation formulae are as follows (using mark price by default):
(1) USDⓈ-Margined Contracts
- Unrealized PNL (Long) = Position Size * (Mark Price - Settlement Price)
- Unrealized PNL (Short) = Position Size * (Settlement Price - Mark Price)
(2) Coin-Margined Contracts
- 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)
(3) Notes:
- 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, Settlement Price = Average Opening Price.
- It is the realized PNL that affects your final profit and loss, NOT the unrealized 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
- Calculation: Funding Fee = Position Size * Mark Price * Funding Rate
- Note: The funding fee is calculated every minute and generated every 8 hours at 08:00, 16:00, 24:00 (UTC+8) respectively. The traders will only pay or receive funding fees if they hold a position at the time of settlement. If the market premium rate is too high, the system may dynamically adjust the settlement cycle to 4 hours or even 2 hours.
(2) Trading Fee
Trading fees will be charged when buying/selling contracts. The calculations are as follows:
- Trading Fee (USDⓈ-Margined Contract) = Fee Rate * Position Size * Buy(Sell) Limit Price
- Trading Fee (Coin-Margined Contract) = Fee Rate * Position Size * Contract Face Value / Buy (Sell) Limit Price
(3) 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:
USDⓈ-Margined Contract
- Trading PNL (Long) = Position Size * (Closing Price - Settlement Price)
- Trading PNL (Short) = Position Size * (Settlement Price - Closing Price)
Coin-Margined Contract
- 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)
Note: 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, Settlement Price = Average Opening Price.
(4) 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.
🔗 Explore More