Market Cap: $2.6532T 1.33%
Volume(24h): $204.8037B 44.96%
Fear & Greed Index:

15 - Extreme Fear

  • Market Cap: $2.6532T 1.33%
  • Volume(24h): $204.8037B 44.96%
  • Fear & Greed Index:
  • Market Cap: $2.6532T 1.33%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How does the mark price work on OKX contracts?

OKX uses a mark price, based on index prices and funding rates, to prevent unfair liquidations by reflecting true market value, not volatile last-traded prices.

Aug 13, 2025 at 11:36 am

Understanding the Mark Price on OKX Futures Contracts

The mark price on OKX futures contracts plays a crucial role in ensuring fair and stable trading by preventing unnecessary liquidations due to market manipulation or extreme price volatility. Unlike the last traded price, which reflects the most recent transaction on the order book, the mark price is a calculated value derived from external market data. Its primary purpose is to represent the true market value of a contract, minimizing the risk of price manipulation during periods of low liquidity or high volatility.

On OKX, the mark price is used to determine the unrealized profit and loss (PnL) of open positions and to trigger liquidations. This means traders’ positions are evaluated against this more stable benchmark rather than the volatile last traded price. By using the mark price, OKX protects traders from being liquidated due to sudden, artificial price spikes or drops on the exchange’s order book.

Components Used to Calculate the Mark Price

OKX constructs the mark price using a combination of external index prices and a funding rate mechanism. The key components include:

  • The index price, which is an aggregate of spot prices from multiple major cryptocurrency exchanges such as Binance, Coinbase, Kraken, and others. This index is weighted and updated in real time to reflect the broader market consensus.
  • The fair price marking mechanism, which incorporates the cost-of-carry model adjusted for the funding rate. This helps align the futures price with the underlying spot market over time.

The index price is critical because it represents the average spot market value across trusted platforms, reducing the influence of any single exchange’s anomalies. OKX continuously pulls data from these sources and applies filtering mechanisms to exclude outliers or delayed feeds.

Role of Funding Rates in Mark Price Adjustment

Funding rates are periodic payments exchanged between long and short position holders to tether the futures price to the spot market. On OKX, the funding rate is factored into the mark price calculation to prevent divergence between the contract price and the underlying asset’s value.

The formula used by OKX for the mark price typically follows:Mark Price = Index Price × (1 + Fair Premium)Where the Fair Premium is derived from the prevailing funding rate and time to contract expiration.

This adjustment ensures that when futures trade at a premium (higher than spot), longs pay shorts, incentivizing price convergence. Conversely, when futures trade at a discount, shorts pay longs. The mark price dynamically reflects this equilibrium, making it a more accurate valuation tool than raw market trades.

How Mark Price Prevents Unfair Liquidations

One of the most important functions of the mark price is to safeguard traders from abrupt liquidations caused by thin order books or whale-driven price swings. Without a mark price, a single large market order could temporarily spike the last traded price, triggering a cascade of liquidations.

For example, suppose the last traded price of a BTC/USDT contract suddenly jumps 10% due to a large sell order in a low-liquidity environment. If liquidations were based solely on this price, many long positions would be closed unfairly. However, OKX uses the mark price, which remains close to the true market value derived from the index, preventing such false triggers.

The liquidation engine on OKX evaluates the margin level of a position using the mark price, not the last traded price. This means a trader’s position will only be liquidated if the broader market, as reflected in the index, has moved against them significantly—not due to temporary exchange-specific distortions.

Viewing the Mark Price on the OKX Platform

To monitor the mark price while trading on OKX, follow these steps:

  • Log in to your OKX account and navigate to the Futures Trading section.
  • Select the desired contract, such as BTC-USD-SWAP.
  • On the trading interface, locate the price panel near the order book.
  • Look for the label 'Mark Price', typically displayed alongside the 'Last Price' and 'Index Price'.
  • The mark price is updated in real time and shown in the same currency unit (e.g., USDT).

Traders can also access this data via the OKX API. For developers or algorithmic traders, the REST API endpoint /api/v5/public/mark-price returns the current mark price for all active contracts. Subscribing to the WebSocket channel mark-price allows real-time streaming of updates, essential for high-frequency strategies.

Differences Between Mark Price, Last Price, and Index Price

It is essential to distinguish between three key price indicators on OKX:

  • The last price is the most recent transaction executed on the exchange’s order book. It is highly sensitive to immediate supply and demand imbalances.
  • The index price is the average spot price of the underlying asset across multiple external exchanges. It serves as the foundation for the mark price.
  • The mark price combines the index price with funding rate adjustments to reflect a fair and manipulative-resistant valuation.

While the last price drives actual trade executions, the mark price governs risk management functions such as margin calculations and liquidations. The index price acts as a neutral reference, anchoring the entire system to real-world market conditions.


Frequently Asked Questions

Q: Can the mark price be manipulated by OKX or external actors?The mark price is highly resistant to manipulation because it relies on data from multiple independent exchanges. OKX does not set the index price; it aggregates it from public APIs. Even if one source is compromised, outlier filtering mechanisms reduce its impact. Additionally, the inclusion of funding rates makes sustained manipulation economically unfeasible.

Q: Why is my position liquidated even if the last price hasn’t reached my stop level?Liquidations on OKX are based on the mark price, not the last traded price. If the mark price crosses your liquidation threshold—due to a shift in the index or funding rate—your position will be closed regardless of the last trade on the order book. Always monitor the mark price when managing risk.

Q: Does the mark price affect my entry or exit orders?No. The mark price does not influence order execution. Market and limit orders are filled based on the last price or order book dynamics. The mark price only affects unrealized PnL, margin calculations, and liquidation checks.

Q: How often is the mark price updated on OKX?The mark price is updated every second. This high-frequency refresh ensures it closely tracks the index and funding rate changes, providing a responsive and accurate valuation for risk management purposes.

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.

Related knowledge

See all articles

User not found or password invalid

Your input is correct