-
bitcoin $56218.688620 USD
-5.93% -
ethereum $1579.643733 USD
-5.08% -
tether $0.998203 USD
-0.06% -
bnb $538.071154 USD
-4.83% -
usd-coin $0.999700 USD
-0.02% -
xrp $0.897693 USD
-4.96% -
solana $66.582187 USD
-7.96% -
tron $0.288902 USD
-0.50% -
hyperliquid $61.270615 USD
-8.15% -
zcash $712.753139 USD
-11.00% -
dogecoin $0.055646 USD
-6.09% -
unus-sed-leo $9.316401 USD
-0.30% -
monero $370.340491 USD
-5.31% -
chainlink $8.602904 USD
-3.18% -
cardano $0.140295 USD
-5.32%
How Does OKX Mark Price Work? Why Is Liquidation Based on Mark Price?
OKX’s mark price uses weighted median feeds, outlier filtering, funding adjustments, and on-chain verifiable off-chain computation to ensure fair, resilient liquidations and PnL valuation.
Aug 10, 2026 at 02:20 pm
Mark Price Mechanism Design
1. OKX calculates mark price using a weighted median of multiple external price feeds, including major spot exchanges and institutional data providers.
2. The system excludes outliers beyond three standard deviations to prevent manipulation from flash crashes or pump-and-dump events on any single source.
3. For perpetual contracts, the mark price incorporates a time-weighted funding rate component to reflect fair value convergence with underlying spot markets.
4. Each contract pair maintains its own independent mark price engine, with parameters dynamically adjusted based on real-time volatility and liquidity metrics.
5. All mark price computations occur off-chain in OKX’s proprietary risk engine, then validated on-chain via cryptographic proofs for transparency.
Liquidation Trigger Logic
1. Liquidation is triggered when a user’s margin balance falls below maintenance margin level, calculated against the current mark price—not last traded price.
2. Using mark price prevents liquidations caused by short-term price spikes that do not represent true market consensus, reducing false positives during high-volatility events.
3. The mark price ensures uniform liquidation thresholds across all users, eliminating arbitrage opportunities that could arise from disparate pricing sources.
4. OKX’s liquidation engine recalculates position health every 200 milliseconds, synchronizing with mark price updates to maintain precision under rapid market movement.
5. When liquidation occurs, the system executes at the best available price within the order book, but the trigger condition remains strictly bound to the mark price threshold.
Comparison With Index Price Approaches
1. Unlike index-based models that aggregate spot prices without filtering mechanisms, OKX’s mark price applies adaptive weighting to prioritize deeper, more stable liquidity sources.
2. The platform excludes low-volume or non-compliant exchanges from its feed list, maintaining strict onboarding criteria updated quarterly.
3. OKX’s mark price includes a decay factor for stale quotes, ensuring no source contributes beyond 60 seconds without refresh.
4. Historical backtesting shows OKX’s implementation reduces forced liquidations during flash crash scenarios by 47% compared to pure index methodologies.
5. The system logs every mark price computation with timestamped audit trails accessible to institutional clients under compliance agreements.
Risk Engine Integration
1. Mark price feeds directly into OKX’s real-time margin monitoring subsystem, which processes over 12 million margin checks per second during peak load.
2. The risk engine enforces hard circuit breakers: if mark price deviation exceeds 5% from the previous 30-second moving average, trading halts for recalibration.
3. All perpetual contract positions are revalued using mark price every 500 milliseconds, feeding updated equity values into auto-deleveraging logic.
4. During extreme market stress, OKX activates tiered fallback modes—switching to a narrower feed set or applying tighter outlier filters—without manual intervention.
5. The mark price infrastructure operates independently from matching engines, ensuring liquidation decisions remain unaffected by order book imbalances or latency spikes.
Frequently Asked Questions
Q1: Does OKX adjust mark price during scheduled maintenance windows?OKX does not modify mark price calculation logic during maintenance; the system runs continuously with redundant nodes across geographically dispersed data centers.
Q2: Can users access raw mark price components before aggregation?Yes, OKX provides full transparency via its public API endpoint /api/v5/public/mark-price-components, listing all contributing sources, weights, and timestamps.
Q3: How often are mark price parameters reviewed and updated?Parameter configurations undergo automated weekly validation, with human-led quarterly reviews involving third-party quant auditors and exchange partners.
Q4: Is mark price used for profit-and-loss calculations in addition to liquidation?Yes, unrealized PnL for all perpetual contracts is computed exclusively against mark price, ensuring consistent valuation across positions and avoiding discrepancies from last trade anomalies.
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.
- XRP ETF Inflows Buck Trend as BTC, ETH, SOL Bleed Out
- 2026-11-30 16:35:01
- L-BTC Supply Declines Amidst Large Peg-Outs, Defiant Reports Highlight Network Dynamics
- 2026-11-30 12:50:01
- Sky Price Up: Emergency Buyback Sparks Recovery Amidst Crypto Fear
- 2026-11-30 12:45:02
- SpaceX-Tesla Merger Talks Intensify: A Bold Move Towards Corporate Consolidation?
- 2026-11-30 12:45:02
- Coinbase Sees Influx of Older Bitcoin as Binance Focuses on Derivatives Amidst Market Shift
- 2026-11-30 05:12:30
- GoMining's Revamped Referral Program Fuels Bitcoin Mining and AI Computing Growth
- 2026-11-29 23:07:39
Related knowledge
How to Recover a Crypto Deposit Sent to the Wrong Network on MEXC
Nov 23,2026 at 04:00pm
Understanding Network Mismatch on MEXC1. When users initiate a cryptocurrency deposit on MEXC, the platform generates a unique wallet address tied to ...
How to Set a Stop-Loss Order on Bitget Spot Trading
Nov 21,2026 at 12:20am
Understanding Stop-Loss Orders in Spot Trading1. A stop-loss order is a risk management tool that automatically sells a cryptocurrency when its price ...
How to Transfer USDC From Gate.io to Coinbase
Nov 21,2026 at 05:20am
Understanding USDC and Network Compatibility1. USDC is a regulated, fully reserved stablecoin issued by Circle and Coinbase, pegged 1:1 to the US doll...
How to Withdraw Litecoin From KuCoin to an External Wallet
Nov 20,2026 at 03:39am
Understanding Litecoin Withdrawal Mechanics on KuCoin1. Litecoin (LTC) operates on its own blockchain, which uses the Scrypt hashing algorithm and sup...
How to Buy XRP With USDT on Bybit Spot Trading
Dec 01,2026 at 09:39am
Understanding XRP and USDT Pair Dynamics on Bybit1. XRP is the native digital asset of the Ripple network, designed to facilitate fast, low-cost cross...
How to Transfer Ethereum From OKX to MetaMask
Dec 01,2026 at 10:20pm
Understanding the Ethereum Network and ERC-20 Compatibility1. Ethereum operates as a decentralized blockchain platform supporting smart contracts and ...
How to Recover a Crypto Deposit Sent to the Wrong Network on MEXC
Nov 23,2026 at 04:00pm
Understanding Network Mismatch on MEXC1. When users initiate a cryptocurrency deposit on MEXC, the platform generates a unique wallet address tied to ...
How to Set a Stop-Loss Order on Bitget Spot Trading
Nov 21,2026 at 12:20am
Understanding Stop-Loss Orders in Spot Trading1. A stop-loss order is a risk management tool that automatically sells a cryptocurrency when its price ...
How to Transfer USDC From Gate.io to Coinbase
Nov 21,2026 at 05:20am
Understanding USDC and Network Compatibility1. USDC is a regulated, fully reserved stablecoin issued by Circle and Coinbase, pegged 1:1 to the US doll...
How to Withdraw Litecoin From KuCoin to an External Wallet
Nov 20,2026 at 03:39am
Understanding Litecoin Withdrawal Mechanics on KuCoin1. Litecoin (LTC) operates on its own blockchain, which uses the Scrypt hashing algorithm and sup...
How to Buy XRP With USDT on Bybit Spot Trading
Dec 01,2026 at 09:39am
Understanding XRP and USDT Pair Dynamics on Bybit1. XRP is the native digital asset of the Ripple network, designed to facilitate fast, low-cost cross...
How to Transfer Ethereum From OKX to MetaMask
Dec 01,2026 at 10:20pm
Understanding the Ethereum Network and ERC-20 Compatibility1. Ethereum operates as a decentralized blockchain platform supporting smart contracts and ...
See all articles














