All
FAQ
Announcements
Product documents
Auto-Deleveraging: what it is and how it affects your positions
Leverage PnL%. for profitable positions = Position's unrealized PnL% / account-level maintenance margin ratio Leverage PnL%. for loss-making positions = Position's unrealized PnL% * account-level maintenance margin ratio Unrealized PnL% of long position: (Mark price − Average Entry price) / Average Entry price Unrealized PnL% of short position: (Average Entry price − Mark price) / Average Entry price In normal circumstances, deleveraged positions are forcibly closed at the mark price at the timePublished on 16 Dec 2020Updated on 12 Feb 2026Product documentationInterest Calculation
However, in the multi-currency and portfolio margin account cross position , the unrealized loss generated by the derivatives positions will enjoy an interest-free limit, and if the liabilities caused by the unrealized loss amount of the derivatives positions is within the interest-free, no interest will be accrued. 2.Published on 16 Dec 2020Updated on 6 Nov 2025Product 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 20 Jun 2022Updated on 1 Apr 2025Product documentationThe official launch of the real-time settlement function for contracts
The profit shown on the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time. 3) Settlement records: New settlement records will not be generated after real-time settlement, and historical settlement records still support query.Published on 28 Dec 2020Updated on 17 Nov 2025AnnouncementsADL mechanism enhancements
The value of an Applicable Insurance Fund increases to an amount higher than the Volatile Drop Threshold plus a buffer of the greater of a. 6% of the 8 Hr Average at the time that ADL was triggered; or b. USD 10,000 (or equivalent); 2. The value of an Applicable Insurance Fund is at least USD 8,000 (or equivalent); 3. Applicable to Crypto Pre-Market Futures only: the volume of liquidation orders falls below a certain threshold, as determined by OKX.Published on 5 Mar 2025Updated on 17 Nov 2025AnnouncementsBorrowing and repaying in multi-currency and portfolio margin account modes
Unrealized losses in expiry and perpetual futures trading If mark price changes and losses are incurred in expiry or perpetual futures positions, making equity less than zero, potential borrowing will occur. Assume your account has 10,000 USDC and holds a BTC-USDT perpetual futures position. If the unrealized loss for the position is –100 USDT, your USDT equity will be –100 USDT. Potential borrowing of 100 USDT will be incurred.Published on 4 Apr 2025Updated on 30 Jan 2026Product documentationThe official launch of the real-time settlement function for contracts
The profit shown on the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time. 3) Settlement records: New settlement records will not be generated after real-time settlement, and historical settlement records still support query. Additionally, suppose a user holds DOTUSD perpetual swap or futures positions at 8:00 am UTC on Dec. 30, 2020.Published on 29 Dec 2020Updated on 17 Nov 2025AnnouncementsLaunch of Mark Price System for Futures Trading
Mark price will replace the latest trading price for calculating the unrealized profit and loss (UPL) of a user. It can minimize the risk of forced liquidation caused by short-term manipulation of the latest trading price B.Formula of Mark Price Mark Price = Spot index price + moving average (basis) = Spot index price + moving average [(best buy + best sell) / 2 - spot index price] Mark Price takes into account the spot index price and the moving average of basis.Published on 8 Jan 2019Updated on 17 Nov 2025AnnouncementsThe official launch of the real-time settlement function for ALGOUSD, ATOMUSD and other Coin-margined Perpetual Swaps
Position: The information of "Settlement price", "Settled earnings" and "Unrealized P&L" will no longer be displayed. The profit shown on the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time; 3.Published on 12 Jan 2021Updated on 17 Nov 2025AnnouncementsWhat is Proof of Reserves (PoR) user snapshot data?
When you combine the PoR snapshot of both ETH and USDT, it will be equivalent to the Unrealized Profit and Loss (UPL) of the margin position.Advanced verification method - trading equity valueWhich account mode supports margin positions?Published on 20 Jan 2023Updated on 3 Apr 2026FAQ495Launch of real-time settlement functionality for LTCUSD, ETCUSD and other coin-margined perpetual swaps and futures
Position: "Settlement price", "Settled earnings" and "Unrealized P&L" information will no longer be displayed. The profit shown against the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time 3.Published on 13 Jan 2021Updated on 17 Nov 2025AnnouncementsHow do total Profit and Loss (PnL) and Grid profits work for Spot Grid?
While Grid Profits gives you a clear view of how much your bot has earned from grid trading alone, it doesn’t reflect: Unrealized gains/losses from open positions Any Earn interest Trading fees not tied to grid execution Therefore, Total PnL gives a full picture of your bot’s performance. Grid Profits is meant for reference and breakdown purposes.Published on 20 Jun 2025Updated on 26 Nov 2025FAQ54Calculation of contract‘s profit and loss
. = total positions – positions of pending close orders P&L Unrealized profit or loss of current position (1) Coin-margined futures/perpetual swap P&L of long positions = face value * |number of contracts|* multiplier * (1 / avg. open price – 1 / mark price) P&L of short positions = face value * |number of contracts| * multiplier * (1 / mark price – 1 / avg. open price) (2) USDT-margined futures/perpetual swapP&L of long positions = face value * |number of contracts| * multiplier * (mark price –Published on 20 Jun 2022Updated on 1 Apr 2025Product documentationLaunch of real-time settlement for USDT-margined perpetual swaps and futures
Position: "Settlement price", "Settled earnings" and "Unrealized P&L" information will no longer be displayed. The profit shown against the position after the real-time settlement is the unrealized profit and loss from the opening of the position to the current time. 3. Settlement records: New settlement records will not be generated after real-time settlement is implemented, but historical records will be supported.Published on 18 Jan 2021Updated on 17 Nov 2025AnnouncementsUnderstanding OKX's Security Fund
Its sole function is to serve as a financial buffer and a safety net specifically designed to mitigate counterparty risk arising from leveraged derivatives and futures trading.Some other cryptocurrency exchanges may have a similar system in place, typically called an "Insurance Fund".Published on 25 Mar 2026Updated on 3 Apr 2026FAQ1