All
FAQ
Announcements
Product documents
Launch of Mark Price System for Futures Trading
Fixed-margin mode: Margin ratio = (fixed margin + UPL) / initial margin Cross-margin mode: (Balance + RPL + UPL) / (position margin + withheld margin for working orders) 3.Clearing Without Mark Price: Clearing price = the last trading price at 09:00 every Friday (CET, UTC +1) With Mark Price: Clearing price = Mark Price at 09:00 every Friday (CET, UTC +1) 4.API Users may user V3-WebSocket Mark Price channel to obtain the latest Mark Price.Published on Jan 8, 2019Updated on May 29, 2026AnnouncementsWhat's mark price vs last price vs index price?
This means a position may be affected by liquidation risk based on the mark price, even if the last price briefly looks different.Published on Apr 15, 2026Updated on May 29, 2026FAQProfit and loss calculation of margin
Margin mode of single currency account Profit and loss Long margin with base crypto, PnL is quoted with base crypto (using Mark price and Last price) Mark price PnL = Assets in position - (Debt + Interest) / Mark price Last price PnL = Assets in position - (Debt + Interest) / Last price Long margin with quote crypto, PnL is quoted with quote crypto (using Mark price and Last price) Mark price PnL = Assets in position * Mark price - (Debt + Interest) Last price PnL = Assets in position * Last pricePublished on Jun 17, 2022Updated on May 29, 2026Product documentationOption Margin
Margin × indexPrice) Buy to Close positions (Short)² Max (Order Price - Position IMR, 0) Max (Order Price - Position IMR, 0) MMR MMR (Long) N/A¹ N/A¹ MMR (Short Call) c * Margin Factor + Mark Price c * Margin Factor * index price + Mark Price MMR (Short Put) max(c, c * Mark Price) * Margin Factor⁴ + Mark Price max(c * index price, c * Mark Price) * Margin Factor⁴ + Mark Price Index Coin-Margined BTCUSD Coin-Margined ETHUSD USDⓈ-margined BTCUSD USDⓈ-margined ETHUSD a 0.1 0.1 0.1 0.1 b 0.15 0.15 0.15Published on Jun 20, 2022Updated on May 29, 2026Product documentationCalculation of contract‘s profit and loss
* maintenance margin ratio / mark price2) USD-margined X-Perps swapMaintenance margin = face value * |number of contracts| * multiplier * maintenance margin ratio * mark price 2.Published on Apr 21, 2026Updated on May 29, 2026Product documentationCalculation of option's profit and loss
Options value Options value = total positions * mark price * contact multiplier * contract value P&L Unrealized profit or loss of current position P&L = (mark price - avg. open price) * total positions * contract multiplier * contract value P&L ratio P&L of long positions = (mark price – avg. open price) / avg. open price P&L of short positions = (avg. open price - mark price) / avg. open price Initial margin The initial margin for long positions is 0.Published on Jun 20, 2022Updated on May 29, 2026Product documentationNitro Spreads Table View Glossary
smaller of the two mark prices.Published on Jul 10, 2024Updated on May 29, 2026Product documentationOKX to change initial margin requirement (IMR) for futures under one-way mode in spot and futures and multi-currency account modes
USDT-margined contracts Buy order loss: Abs (Contract size × |Number of contracts| × Multiplier × Min [0, (Mark price – Order price)]) Sell order loss: Abs (Contract size × |Number of contracts| × Multiplier × Min [0, (Order price – Mark price)]) Crypto-margined contracts Buy order loss: Abs (Contract size × |Number of contracts| × Multiplier × Min [0, (1 / Order price – 1 / Mark price)]) Sell order loss: Abs (Contract size × |Number of contracts| × Multiplier × Min [0, (1 / Mark price – 1 / OrderPublished on Oct 24, 2024Updated on May 29, 2026AnnouncementsExplanation for Greeks Delta and Gamma
BTCUSD-200327-20000-P Mark Price PA delta BS delta 1.8571 BTC -2.85702309 -0.99993983 Quarterly BTCUSD0327 Mark Price delta 7,000 0.01428571(=100/7,000) The number of futures contracts calculated by using PA delta for hedging is: The number of futures contracts calculated by using BS delta for hedging is: A positive number indicates a buy, and a negative number indicates a sell.Published on Feb 12, 2020Updated on May 29, 2026Product documentationWhat is margin in X-Perps trading?
Margin requirement for positions USD-margined contracts Initial margin = Contract size × |Number of contracts| × Multiplier × Mark price / Leverage The initial margin fluctuates based on the mark price in selected margin mode.Published on Apr 21, 2026Updated on May 29, 2026Product documentationHow PnL works in X-Perps?
On OKX, unrealized PnL for X-Perps is calculated using the mark price, not the last traded price. The mark price is also used in liquidation logic. This means unrealized losses are not just a display value — they directly affect your position risk. If unrealized losses increase and the mark price moves closer to your liquidation price, your margin buffer may shrink. In that case, you may need to add margin (where supported) or reduce your position to lower risk.Published on Apr 9, 2026Updated on May 29, 2026FAQSpot and futures cross margin mode
currency, and the P&L is calculated in the quote currency.P&L = total assets - (liability + interest) * mark price4) Short positions with the trading currency serving as the margin currency, and the P&L is calculated in the trading currency.P&L = Total assets / marked price - (liability + interest) P&L ratio P&L/initial margin Initial margin 1) Long positions with trading currency as margin currency, and liability calculated in quote currency.Initial margin = (liability + interest) / (mark pricePublished on Jun 17, 2022Updated on May 29, 2026Product documentationOKX to adjust parameters for options fee calculation
Liquidation fee Min (Taker fee tier × Contract multiplier × Contract size × Number of contracts, 12.5% × Mark price × Contract multiplier × Contract size × Number of contracts) Min (Taker fee tier × Contract multiplier × Contract size × Number of contracts, 7% × Mark price × Contract multiplier × Contract size × Number of contracts) OKX will continue to provide you with better products and higher quality services. OKX team May 8, 2025Published on May 8, 2025Updated on May 29, 2026AnnouncementsSystem Liquidation Mechanism
Instead, the entrusted price will be calculated based on current market depth, basis, and mark price to increase transaction efficiency and return to cover the loss.3.Inquiry for Liquidated Positions and Margin Call Loss a.After the price change, some positions may be transacted at lower prices than their bankruptcy prices(for closed long positions) or higher(for closed short positions).Published on Apr 21, 2026Updated on May 29, 2026Product documentationWhat should I do if I want to withdraw assets that are not supported on other platforms?
Solution: Once your withdrawal status is marked as "Withdrawing" or "Transferred Out," it means the assets have left the OKX platform. You can only consult the customer support of the receiving platform or wallet to find out when the funds will arrive.Published on Apr 8, 2025Updated on May 29, 2026FAQ12