-
bitcoin $86353.520310 USD
1.06% -
ethereum $2748.504094 USD
0.61% -
tether $0.999805 USD
0.00% -
bnb $789.713139 USD
0.35% -
xrp $1.621177 USD
6.50% -
usd-coin $0.999968 USD
-0.01% -
solana $118.732892 USD
1.75% -
tron $0.343839 USD
-1.32% -
zcash $1622.688363 USD
8.33% -
hyperliquid $97.151941 USD
2.83% -
dogecoin $0.101886 USD
2.10% -
monero $571.352536 USD
-0.93% -
chainlink $13.016236 USD
0.75% -
cardano $0.257732 USD
5.00% -
unus-sed-leo $8.985389 USD
0.15%
What Is OKX Unrealized Profit and Loss? Complete Calculation Guide
Unrealized PnL on OKX is the real-time, theoretical gain/loss on open positions—calculated from mark price vs. entry, affecting margin but not wallet balance until closure.
Aug 07, 2026 at 08:59 pm
Definition and Core Mechanics
1. Unrealized profit and loss (PnL) on OKX refers to the theoretical gain or loss calculated from open positions without actual settlement.
2. It reflects the difference between current market price and entry price multiplied by position size and contract multiplier.
3. This metric is updated in real time as mark price fluctuates, appearing instantly in the user’s wallet dashboard.
4. Unlike realized PnL, unrealized PnL remains subject to change until position closure or liquidation.
5. For perpetual contracts, funding payments do not affect unrealized PnL but influence wallet balance separately.
Calculation Methodology Across Instruments
1. For linear perpetuals: Unrealized PnL = (Mark Price − Entry Price) × Position Size × Contract Multiplier.
2. For inverse perpetuals: Unrealized PnL = (1 ÷ Entry Price − 1 ÷ Mark Price) × Position Size × Contract Multiplier × Base Currency Notional.
3. In spot margin trading: Unrealized PnL = (Current Quote Price − Average Buy Price) × Holdings Quantity.
4. For options: Unrealized PnL = (Current Option Market Price − Premium Paid) × Number of Contracts × Lot Size.
5. Cross-margin mode applies portfolio-wide margin calculation, yet each asset’s unrealized PnL is computed independently using its own pricing feed.
Impact on Margin and Risk Management
1. Unrealized PnL directly alters available margin — positive values increase usable margin, negative values reduce it.
2. When unrealized loss exceeds maintenance margin level, a margin call triggers automatically.
3. Liquidation engine uses mark price—not last traded price—to compute real-time unrealized PnL for risk assessment.
4. Insurance fund does not absorb unrealized losses; it only covers realized shortfall after liquidation.
5. Auto-deleveraging activates when unrealized losses accumulate across multiple positions and exceed system-wide buffer thresholds.
Display and Accounting Treatment
1. OKX displays unrealized PnL in both base currency and USD equivalents on the “Positions” tab.
2. Historical unrealized PnL snapshots are archived per position lifecycle and accessible via API endpoints.
3. No accounting entry is made until position close; unrealized PnL remains off-balance-sheet per IFRS 9 standards.
4. Tax jurisdictions generally exclude unrealized PnL from taxable events unless marked-to-market election applies.
5. Portfolio margin mode aggregates unrealized PnL across all derivatives, enabling netting effects during margin evaluation.
Frequently Asked Questions
Q: Does unrealized PnL affect my wallet balance before closing?A: No. Only realized PnL updates wallet balance. Unrealized PnL appears as a separate line item and influences margin availability but not actual fund transfer.
Q: Why does my unrealized PnL differ from what I see on third-party charting tools?A: OKX uses proprietary mark price methodology—blending index price, funding rate, and fair basis—while external tools may rely solely on last trade or Binance/Bybit feeds.
Q: Can I withdraw funds corresponding to positive unrealized PnL?A: No. Withdrawals require realized equity. Positive unrealized PnL increases margin utilization capacity but cannot be withdrawn until position settlement.
Q: Is unrealized PnL reset after a forced liquidation?A: Yes. Upon liquidation, the position closes at bankruptcy price, converting all unrealized PnL into realized PnL. The unrealized field resets to zero for that position.
Disclaimer:info@kdj.com
The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!
If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.
- BlackRock Spotlights AI's Undervalued Role in Driving Crypto Demand and Tokenized Compute Markets
- 2026-09-23 16:45:01
- Altcoins Set to Soar as Bitcoin Eyes $150K: What New Yorkers Need to Know About Price Predictions
- 2026-09-23 16:35:01
- Near.com and Ondo Finance Forge a New Frontier for Tokenized Stocks, ETFs, and Commodities
- 2026-09-23 05:05:01
- NEAR Protocol Solutions Tackle Lost Keys and Enhance Usability with Readable Accounts
- 2026-09-23 05:05:01
- Zcash Takes Center Stage: European ETP Launch Follows US ETF Approval, Igniting 'Bitcoin Alternative' Debate
- 2026-09-23 05:10:01
- 21Shares Expands Product Suite with New Zcash ETP, Enhancing European Investor Access
- 2026-09-23 04:50:01
Related knowledge
How to Buy ADA on Coinbase?
Sep 22,2026 at 01:20am
Market Volatility Patterns1. Bitcoin price swings often exceed 15% within a 24-hour window during major macroeconomic announcements. 2. Altcoin indice...
How to Sell XRP on Coinbase?
Sep 23,2026 at 06:40pm
Selling XRP on Coinbase: Step-by-Step Execution1. Log into your verified Coinbase account using credentials tied to your registered email and two-fact...
How to Check XRP Real-Time Price on Bybit?
Sep 21,2026 at 06:20pm
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Find SUI/USDT on Bybit?
Sep 22,2026 at 12:39am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Buy SUI with USDT on Bybit?
Sep 21,2026 at 03:20pm
Accessing the SUI/USDT Trading Pair1. Log in to your Bybit account using verified credentials and ensure two-factor authentication is active.2. Naviga...
How to Find DOGE/USDT on Bybit?
Sep 23,2026 at 06:20pm
Accessing DOGE/USDT Trading Interface1. Launch the official Bybit application or navigate to bybit.com using a desktop browser. 2. Log in with your ve...
How to Buy ADA on Coinbase?
Sep 22,2026 at 01:20am
Market Volatility Patterns1. Bitcoin price swings often exceed 15% within a 24-hour window during major macroeconomic announcements. 2. Altcoin indice...
How to Sell XRP on Coinbase?
Sep 23,2026 at 06:40pm
Selling XRP on Coinbase: Step-by-Step Execution1. Log into your verified Coinbase account using credentials tied to your registered email and two-fact...
How to Check XRP Real-Time Price on Bybit?
Sep 21,2026 at 06:20pm
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Find SUI/USDT on Bybit?
Sep 22,2026 at 12:39am
Bitcoin Halving Mechanics1. Bitcoin’s protocol enforces a fixed issuance schedule where block rewards are cut in half approximately every 210,000 bloc...
How to Buy SUI with USDT on Bybit?
Sep 21,2026 at 03:20pm
Accessing the SUI/USDT Trading Pair1. Log in to your Bybit account using verified credentials and ensure two-factor authentication is active.2. Naviga...
How to Find DOGE/USDT on Bybit?
Sep 23,2026 at 06:20pm
Accessing DOGE/USDT Trading Interface1. Launch the official Bybit application or navigate to bybit.com using a desktop browser. 2. Log in with your ve...
See all articles














