The cryptocurrency derivatives market demands precision, fairness, and resilience—especially when it comes to managing risk during periods of high volatility. To enhance user protection and strengthen market integrity, OKX has implemented a Mark Price System for its delivery contracts. This upgrade, launched in early 2019, plays a critical role in minimizing unfair liquidations, reducing loss from price manipulation, and improving overall trading stability.
By leveraging advanced pricing mechanisms, OKX ensures traders are evaluated based on a more accurate reflection of true market value—rather than transient and potentially manipulated spot prices.
What Is the Mark Price and Why It Matters
In derivatives trading, price accuracy directly impacts risk management and profit calculation. The Mark Price is a calculated reference rate used to reflect the fair value of a futures contract at any given moment.
Definition and Core Function
The Mark Price is derived from:
Spot Index Price + Moving Average (MA) of Basis
Where:
- Spot Index Price: The average price of the underlying asset across major spot exchanges.
- Basis: The difference between the mid-price of the futures contract
(Buy 1 + Sell 1) / 2and the spot index price.
This system uses a moving average to smooth out short-term fluctuations in the basis, filtering out sudden spikes or drops that could otherwise trigger unnecessary liquidations.
👉 Discover how professional traders avoid unexpected liquidations with smart pricing systems.
Key Benefits of the Mark Price System
- Reduces Unfair Liquidations
Without mark pricing, traders can be prematurely liquidated if the last traded price is briefly manipulated or distorted due to low liquidity. - Protects Against Market Manipulation
Since the mark price isn’t based solely on the last trade, it’s significantly harder for malicious actors to artificially trigger mass margin calls. - Improves Risk Management Accuracy
By using a stabilized benchmark, both users and the platform can assess positions more reliably during volatile market conditions. - Enhances Settlement Fairness
Weekly settlement now reflects the mark price at 16:00 HKT every Friday, ensuring a more objective and representative closing rate.
How Mark Price Affects Your Trading Experience
Understanding how this system integrates into your daily trading operations is essential for maintaining control over your portfolio.
1. Unrealized Profit and Loss Calculation
Prior to the implementation of the mark price system, unrealized P&L was calculated using the latest traded price, which could fluctuate wildly within milliseconds.
Before Mark Price:
- Long Position:
Face Value × Contracts / Entry Price - Face Value × Contracts / Last Traded Price - Short Position:
Face Value × Contracts / Last Traded Price - Face Value × Contracts / Entry Price
After Mark Price Implementation:
- Long Position:
Face Value × Contracts / Entry Price - Face Value × Contracts / Mark Price - Short Position:
Face Value × Contracts / Mark Price - Face Value × Contracts / Entry Price
This shift ensures that unrealized gains or losses reflect a stable, fair market value, not momentary anomalies.
2. Forced Liquidation Mechanism
Liquidation thresholds remain unchanged—10% margin ratio for 10x leverage, and 20% for 20x—but the method of calculating margin ratio now relies on the mark price, making the process more resistant to manipulation.
Isolated Margin Mode:
Margin Ratio = (Fixed Margin + Unrealized P&L) / Initial MarginCross Margin Mode:
Margin Ratio = (Balance + Realized P&L + Unrealized P&L) / (Required Position Margin + Frozen Order Margin)Because unrealized P&L is now tied to the smoothed mark price, users gain a buffer against flash crashes or spoofing attacks that might otherwise cause cascading liquidations.
Settlement Process Upgrade
One of the most impactful changes involves how delivery contracts are settled each week.
Old Method:
- Settlement price = Last traded price at 16:00 HKT every Friday
New Method:
- Settlement price = Mark Price at 16:00 HKT every Friday
This update ensures that settlement occurs at a fair and representative price, avoiding distortions caused by low-volume trades or last-second manipulation attempts.
For traders holding positions until expiry, this means greater predictability and transparency in final payout calculations.
Technical Integration: Accessing Mark Price via API
For algorithmic traders and developers, real-time access to accurate pricing data is non-negotiable. OKX supports seamless integration through multiple API channels.
Real-Time Data Feeds
- WebSocket V3 (Public Channel): Subscribers can receive live updates from the
mark_pricechannel. - REST API: A dedicated endpoint allows retrieval of current mark price values. Documentation updates were released concurrently with the system launch.
These tools empower automated strategies to incorporate robust risk controls based on reliable benchmarks—not volatile last-trade ticks.
👉 Access real-time market data and build smarter trading bots today.
Frequently Asked Questions (FAQ)
Q: Does the mark price affect my entry or exit orders?
A: No. The mark price is used only for calculating unrealized P&L and determining liquidation risk. Your actual order execution still depends on the order book and last traded price.
Q: Can I view the mark price on the trading interface?
A: Yes. The mark price is clearly displayed alongside the last traded price on the contract trading page, typically labeled as “Mark” or “Mark Price.”
Q: Why use a moving average of the basis instead of raw data?
A: The moving average filters out noise and prevents sharp, temporary deviations from impacting liquidation decisions. It adds stability without sacrificing responsiveness.
Q: Does this system apply to all contract types?
A: Initially rolled out for delivery contracts, similar systems have since been extended to perpetual swaps and other derivative products on OKX.
Q: How often is the mark price updated?
A: The mark price is refreshed frequently—typically every few seconds—ensuring it remains closely aligned with current market fundamentals.
Q: Is there a lag between spot index and mark price during fast-moving markets?
A: While some minor lag may occur during extreme volatility, the use of indexed spot prices from multiple exchanges helps minimize delays and maintain accuracy.
Final Thoughts: Building a More Resilient Trading Environment
The introduction of the Mark Price System represents a pivotal step toward creating a safer, more transparent futures market. By decoupling risk evaluation from easily manipulated metrics, OKX empowers traders with tools to navigate volatile markets confidently.
Whether you're a beginner holding your first futures position or an experienced quant running complex algorithms, understanding how mark pricing works gives you a strategic edge in managing risk and optimizing performance.
As digital asset markets continue evolving, platforms that prioritize user protection, technical rigor, and market fairness will lead the next wave of innovation.
👉 Start trading with confidence using advanced risk protection features built for modern markets.