-
bitcoin $83065.760842 USD
0.56% -
ethereum $2502.987828 USD
0.47% -
tether $0.998983 USD
-0.01% -
bnb $747.892869 USD
0.04% -
xrp $1.394954 USD
-0.69% -
usd-coin $0.999851 USD
0.00% -
solana $109.643247 USD
-0.14% -
tron $0.330160 USD
-0.18% -
hyperliquid $84.910099 USD
0.71% -
zcash $1228.260896 USD
0.09% -
dogecoin $0.085342 USD
-0.89% -
monero $527.981189 USD
1.52% -
chainlink $12.890884 USD
0.15% -
cardano $0.248308 USD
-1.99% -
unus-sed-leo $8.903865 USD
1.60%
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.
- Retail Investors Flock Back to Crypto: Google Searches Surge Amidst Market Volatility
- 2026-10-11 20:35:01
- Ethereum ETFs Experience Million-Dollar Exit Amid Worst Week Since January
- 2026-10-11 17:05:02
- Ether ETFs Endure Worst Week Since January Amid Broader Crypto Sell-Off
- 2026-10-11 17:10:01
- XRP Traders, Bitcoin Trader, Ledger: A New York Minute on Crypto Security and Macro Swings
- 2026-10-11 16:35:01
- CFTC Draws Line: Prediction Markets as Swaps, Casino Gambling Left to States
- 2026-10-11 16:40:01
- Bubblemaps Uncovers Potential $125K Profit for Pump.fun Influencer Amidst Scrutiny
- 2026-10-11 17:00:02
Related knowledge
How to Use Bitget Copy Trading to Set a Maximum Loss Limit for Each Trader?
Oct 11,2026 at 02:40pm
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 Transfer USDT From Bitget Spot to Futures to Prepare for Trading?
Oct 03,2026 at 01:00am
Understanding Bitget Account Structure1. Bitget separates user assets into distinct wallets: Spot Wallet, Futures Wallet, and Funding Wallet. 2. The S...
How to Check the Liquidation Price of a Bitget USDT-M Futures Contract?
Oct 11,2026 at 06:00pm
Understanding Liquidation Price Mechanics1. Liquidation price is the market price at which a leveraged position on Bitget’s USDT-M futures platform is...
How to Set a Bitget Futures Take-Profit Order Before Opening a Leveraged Position?
Oct 05,2026 at 07:19am
Accessing the Futures Trading Interface1. Log in to your Bitget account via the official web platform or mobile application. 2. Navigate to the Deriva...
How to Use Bitget Spot Grid Trading to Buy and Sell Within a Defined Price Range?
Oct 02,2026 at 03:19am
Understanding Spot Grid Trading Mechanics1. Spot grid trading operates by placing a series of limit buy and sell orders at predefined price intervals ...
How to Set a Bitget Futures Trailing Stop to Protect Profits During a Rally?
Oct 11,2026 at 11:00pm
Understanding Trailing Stop Mechanics on Bitget1. A trailing stop on Bitget is not a static price level but a dynamic offset that recalculates in real...
How to Use Bitget Copy Trading to Set a Maximum Loss Limit for Each Trader?
Oct 11,2026 at 02:40pm
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 Transfer USDT From Bitget Spot to Futures to Prepare for Trading?
Oct 03,2026 at 01:00am
Understanding Bitget Account Structure1. Bitget separates user assets into distinct wallets: Spot Wallet, Futures Wallet, and Funding Wallet. 2. The S...
How to Check the Liquidation Price of a Bitget USDT-M Futures Contract?
Oct 11,2026 at 06:00pm
Understanding Liquidation Price Mechanics1. Liquidation price is the market price at which a leveraged position on Bitget’s USDT-M futures platform is...
How to Set a Bitget Futures Take-Profit Order Before Opening a Leveraged Position?
Oct 05,2026 at 07:19am
Accessing the Futures Trading Interface1. Log in to your Bitget account via the official web platform or mobile application. 2. Navigate to the Deriva...
How to Use Bitget Spot Grid Trading to Buy and Sell Within a Defined Price Range?
Oct 02,2026 at 03:19am
Understanding Spot Grid Trading Mechanics1. Spot grid trading operates by placing a series of limit buy and sell orders at predefined price intervals ...
How to Set a Bitget Futures Trailing Stop to Protect Profits During a Rally?
Oct 11,2026 at 11:00pm
Understanding Trailing Stop Mechanics on Bitget1. A trailing stop on Bitget is not a static price level but a dynamic offset that recalculates in real...
See all articles














