-
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%
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.
- 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 ...
What Is Gate.io Contract Position Mode? How to Change Settings?
Aug 09,2026 at 10:39pm
Understanding Gate.io Contract Position Mode1. Gate.io supports two distinct position modes for futures and perpetual contracts: Hedge Mode and One-wa...
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 Use Gate.io Futures Calculator? Complete Tutorial
Aug 10,2026 at 02:39pm
Understanding the Gate.io Futures Calculator Interface1. The calculator is accessible via the Gate.io official website under the “Tools” section or di...
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 ...
What Is Gate.io Contract Position Mode? How to Change Settings?
Aug 09,2026 at 10:39pm
Understanding Gate.io Contract Position Mode1. Gate.io supports two distinct position modes for futures and perpetual contracts: Hedge Mode and One-wa...
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 Use Gate.io Futures Calculator? Complete Tutorial
Aug 10,2026 at 02:39pm
Understanding the Gate.io Futures Calculator Interface1. The calculator is accessible via the Gate.io official website under the “Tools” section or di...
See all articles














