-
bitcoin $87959.907984 USD
1.34% -
ethereum $2920.497338 USD
3.04% -
tether $0.999775 USD
0.00% -
xrp $2.237324 USD
8.12% -
bnb $860.243768 USD
0.90% -
solana $138.089498 USD
5.43% -
usd-coin $0.999807 USD
0.01% -
tron $0.272801 USD
-1.53% -
dogecoin $0.150904 USD
2.96% -
cardano $0.421635 USD
1.97% -
hyperliquid $32.152445 USD
2.23% -
bitcoin-cash $533.301069 USD
-1.94% -
chainlink $12.953417 USD
2.68% -
unus-sed-leo $9.535951 USD
0.73% -
zcash $521.483386 USD
-2.87%
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.
- Bitcoin, eCash Fork, and Airdrop Dynamics: A Deep Dive into Crypto's Latest Controversies
- 2026-05-03 12:55:01
- Consensus 2026 Miami: Web3, Blockchain, Cryptocurrency, NFTs, Metaverse, Conference, May 5th — Where Wall Street Meets the Digital Frontier
- 2026-05-02 12:45:01
- Fed Holds Rates Steady, Triggering Bitcoin Price Drop Amidst Geopolitical Tensions
- 2026-05-01 06:45:01
- Bitcoin Miners Electrify the Grid: Ohio Gas Plant Acquisition Powers Up a New Era for Digital Gold
- 2026-05-01 00:45:01
- MegaETH's MEGA Token Hits the Big Apple: Setting New Performance Benchmarks for Real-Time Blockchain
- 2026-05-01 00:55:01
- Solana's Slippery Slope: Price Prediction Points to Resistance Loss and Potential Further Drops
- 2026-05-01 06:45:01
Related knowledge
What Is MEXC Contract Margin Ratio? When Will Liquidation Occur?
Aug 06,2026 at 04:02am
MEXC Contract Margin Ratio Definition1. The MEXC contract margin ratio represents the percentage of a trader’s position value that must be held as col...
How Does MEXC Futures Liquidation Work? Complete Explanation
Aug 06,2026 at 01:19am
Futures Liquidation Mechanics on MEXC1. Liquidation is triggered when a trader’s margin balance falls below the maintenance margin requirement set by ...
How to Reduce Gate.io Futures Trading Fees?
Aug 06,2026 at 06:24am
Understanding Gate.io Fee Structure1. Gate.io applies a tiered fee model based on 30-day trading volume and GT token holdings. Users with higher volum...
What Is Gate.io Risk Limit System? How Does It Work?
Aug 05,2026 at 09:19pm
Definition and Purpose of the Risk Limit System1. The Gate.io Risk Limit System is a built-in mechanism designed to manage exposure on perpetual futur...
How to Fix Bitget Futures Order Failed Error?
Aug 06,2026 at 06:40am
Market Volatility Patterns1. Bitcoin price swings often correlate with macroeconomic data releases, especially U.S. CPI and non-farm payroll reports. ...
How Does Bitget Copy Trading Profit Sharing Work?
Aug 05,2026 at 08:40pm
Profit Distribution Mechanics1. When a follower generates profit through copy trading, the system calculates the net realized P&L after closing positi...
What Is MEXC Contract Margin Ratio? When Will Liquidation Occur?
Aug 06,2026 at 04:02am
MEXC Contract Margin Ratio Definition1. The MEXC contract margin ratio represents the percentage of a trader’s position value that must be held as col...
How Does MEXC Futures Liquidation Work? Complete Explanation
Aug 06,2026 at 01:19am
Futures Liquidation Mechanics on MEXC1. Liquidation is triggered when a trader’s margin balance falls below the maintenance margin requirement set by ...
How to Reduce Gate.io Futures Trading Fees?
Aug 06,2026 at 06:24am
Understanding Gate.io Fee Structure1. Gate.io applies a tiered fee model based on 30-day trading volume and GT token holdings. Users with higher volum...
What Is Gate.io Risk Limit System? How Does It Work?
Aug 05,2026 at 09:19pm
Definition and Purpose of the Risk Limit System1. The Gate.io Risk Limit System is a built-in mechanism designed to manage exposure on perpetual futur...
How to Fix Bitget Futures Order Failed Error?
Aug 06,2026 at 06:40am
Market Volatility Patterns1. Bitcoin price swings often correlate with macroeconomic data releases, especially U.S. CPI and non-farm payroll reports. ...
How Does Bitget Copy Trading Profit Sharing Work?
Aug 05,2026 at 08:40pm
Profit Distribution Mechanics1. When a follower generates profit through copy trading, the system calculates the net realized P&L after closing positi...
See all articles














