This page is for information purposes only. Certain services and features may not be available in your jurisdiction.

When would my order be liquidated?

In a unified account, the margin level determines when a position is liquidated. When the margin level of an open position falls below 100%, the position will be partially or fully closed.

A common misconception is that traders might assume liquidation will occur when the margin level falls to 0%. This is not the case. When the margin level falls below 100%, the position will be liquidated in part or in full, and we'll collect a liquidation clearance fee that will be added to the OKX insurance fund.

Depending on the position tier, partial liquidation may occur instead of full liquidation. If the margin level requirement is still not met after partial liquidation, the position(s) will continue to be reduced until the margin level requirement is met or all positions are closed. This is one of OKX's risk control protocols intended to reduce the impact on the market when a large position is liquidated.

Users can estimate the price at which their positions will be liquidated using the calculator found towards the bottom of the derivatives product trading page. If a user has multiple open positions, the estimated liquidation price might differ from the actual liquidation price in a unified account.

Understanding how margin level is calculated for your account mode

An informed trader is a prepared trader. The guides linked below will help you to understand how the margin level is calculated based on your chosen account mode.

For single-currency margin mode or cross margin trading, click here.

For multi-currency margin mode or cross margin trading, click here.

For single or multi-currency margin mode, or isolated margin trading, click here.

Disclaimer
This content is provided for informational purposes only and may cover products that are not available in your region. It is not intended to provide (i) investment advice or an investment recommendation; (ii) an offer or solicitation to buy, sell, or hold crypto/digital assets, or (iii) financial, accounting, legal, or tax advice. Crypto/digital asset holdings, including stablecoins, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding crypto/digital assets is suitable for you in light of your financial condition. Please consult your legal/tax/investment professional for questions about your specific circumstances. Information (including market data and statistical information, if any) appearing in this post is for general information purposes only. While all reasonable care has been taken in preparing this data and graphs, no responsibility or liability is accepted for any errors of fact or omission expressed herein.

© 2025 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2025 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2025 OKX.” Some content may be generated or assisted by artificial intelligence (AI) tools. No derivative works or other uses of this article are permitted.

Related articles

View more
OKX Bot Trading
Smart Trading

The 9 best AI crypto trading bots to use in 2024: a comprehensive guide

Cryptocurrency has grown to become one of the most popular assets to trade in recent years. Due to its highly volatile nature, the value of the asset constantly moves up and down. This opens up multiple trading opportunities. As a result, traders could sometimes enjoy larger rewards, and do so faster than they would with other assets. But as always, big losses may also be encountered.
Nov 8, 2025
170
OKX Bot Trading
Trading
Trading basics
Trading guide

How to set up an OKX Signal Trading bot with TradingView

Try Signal Trading on OKX Signal Trading is now available on OKX, enabling you to create your own signal trading bot and execute real trades. Experience the full potential of automated trading, get started and elevate your trading strategies today.
Nov 8, 2025
31
9 Best AI Crypto Trading Bots To Use in 2024 Cover
Strategies

What are Telegram trading bots: how to trade crypto in Telegram

Blink and you’ll miss it. That’s how quickly some potential crypto trading opportunities can seemingly pass you by if you’re new to the crypto trading scene. Fortunately, many crypto trading tools today help ease beginners into the process of and navigating the onchain trading process. Enter Telegram trading bots: the new kid on the block that’s become increasingly popular among crypto enthusiasts because of the unmatched convenience on offer.
Nov 8, 2025
Intermediate
17
OKX Bot Trading
Trading tools
Trading guide
Spot trading guide

Best crypto grid trading bots: how to maximize gains with grid bot strategies

Cryptocurrency trading can be complex and challenging. Fortunately, traders can take advantage of trading bots to simplify the process and increase efficiency. One such tool that's gained popularity in recent years is the crypto grid trading bot. As an algorithmic tool that falls under our product suite, crypto grid bots automate trades on cryptocurrency exchanges. When used correctly, employing a grid bot strategy can potentially be lucrative.
Nov 8, 2025
Intermediate
17
OKX Bot Trading
Strategies

What is crypto bot trading: automating your trades with our bots

Does the idea of manual trading feel daunting? Thanks to the availability of crypto trading bots under our Smart Trading product suite, you too can effortlessly automate your trades and enter the world of trading algorithms and bot trading in one click. With the help of bot trading, you'll no longer have to keep your eyes glued to the charts to execute trades as your pre-programmed bots will simply make the trades for you.
Nov 8, 2025
Beginners
52
Solana generic
Altcoin
Strategies

6 top Solana trading bots: what’s the best Solana trading bot for you?

Crypto trading bots are a useful tool for those wanting more convenience and automation from their trading activities. The technology allows you to program in your trading strategy and leave the bots to take care of execution, at the prices and parameters you set. 
Nov 8, 2025
Beginners
21
View more