What is liquidation?

Liquidation is the process in which a platform reduces or closes positions under its rules when an account or position no longer meets collateral or other risk requirements. It can reduce part of a position or end the whole position. Platform risk rules trigger it without requiring the trader to submit another closing order.

What triggers liquidation?

Leveraged trading uses margin as collateral. Including unrealized results on open positions produces equity; the platform then determines the eligible equity recognized as collateral. Maintenance margin is the minimum collateral required to keep a position open.

Adverse price moves, fee payments or falling collateral values can reduce eligible equity. When equity cannot cover maintenance requirements and applicable fees, the platform enters risk handling under its rules. An unrealized loss changes the equity valuation; it need not already be a transaction deducting cash from the balance.

For example, OKX’s contract rules use the mark price, a reference calculated under platform rules, for risk valuation rather than only the last trade. Account modes also determine which assets and positions enter the calculation; see margin.

Why can liquidation occur before all margin is lost?

Keeping a position open requires collateral to remain. The platform does not wait until equity reaches zero to address risk.

For example, in a hypothetical state excluding fees, eligible position equity is 5 USDT and the maintenance requirement is also 5 USDT. They are already equal: equity remains, but there is no surplus above the requirement. USDT is the denomination asset. Actual triggers also include product-specific fees and threshold conditions.

Using current position and account conditions, one can estimate the price at which liquidation may be triggered: the estimated liquidation price. It changes with equity and positions and is not a guaranteed execution level. Its derivation is explained in that entry.

How does a platform handle insufficiently collateralized positions?

The aim is to reduce position risk until remaining collateral meets requirements, or end positions that can no longer be maintained. OKX’s staged handling explanation, for example, includes:

  1. Cancel capacity-reserving orders: at the relevant risk stage, cancel some unfilled orders and release unnecessary reservations. This does not reverse executed positions.
  2. Reduce part of the position: close some quantity under the rules, then recalculate maintenance requirements and equity for the remainder. Further reductions can stop if requirements are met again.
  3. Continue closing: if collateral remains insufficient, continue handling until rules are satisfied or the position is fully closed.

Actual steps and thresholds depend on the product. Advance notice or time to add margin cannot be assumed. Orders executed in the market also face available buy and sell quotes and quantities; final execution prices can differ from the trigger reference.

Closed quantities do not automatically return if the market later rebounds. After a partial close, the remaining position continues to generate gains or losses.

How are liquidation costs and excess losses handled?

Liquidation can incur trading fees, liquidation fees or other rule-based handling costs. They affect final remaining equity. Product rules determine the applicable items and calculation bases.

With fast price changes, closing losses can exceed collateral available for the position, leaving a loss shortfall, commonly called a negative-equity shortfall. An applicable insurance fund may address some shortfalls under its rules. This differs from refunding the trader’s lost margin.

Product-defined risk conditions can also activate auto-deleveraging (ADL): the system selects opposite-side positions under its rules, matches them with positions being handled, and reduces quantities on both sides. This can affect counterparties not being liquidated for insufficient collateral themselves. Activation is not determined solely by whether a fund balance is zero.

How do liquidation, stop-loss and expiry settlement differ?

All three can end a position, but for different reasons. Liquidation follows collateral or other risk conditions; a stop-loss follows a trader’s preset exit condition; expiry settlement follows the contract’s expiry rules.

After a stop-loss condition is met, a subsequent order must still be submitted and executed. Setting a stop-loss does not guarantee completion before liquidation. Expiry settlement applies to dated contracts, not handling insufficient collateral. See expiry futures for the mechanism.

Which assets can liquidation affect?

The scope first depends on collateral allocation. Isolated margin usually allocates collateral separately to a specified position; cross margin shares collateral within defined limits, so other assets and positions can participate in risk calculations.

For example, OKX’s relevant contract explanation applies isolated handling to margin allocated to that position. Cross handling can involve shared trading-account margin; funding-account assets are outside the deduction scope described there. Automatic margin additions, fees and negative-balance handling still require product-specific checks. One account mode’s outcome is not a universal platform loss limit.

Explore margin, estimated liquidation price and insurance funds, or return to the crypto glossary.

References

Friskrivningsklausul
Detta innehåll tillhandahålls endast i informationssyfte och kan omfatta produkter som inte är tillgängliga i din region. Det är inte avsett att ge (i) investeringsrådgivning eller en investeringsrekommendation, (ii) ett erbjudande eller en uppmaning att köpa, sälja eller inneha krypto/digitala tillgångar, eller (iii) finansiell, redovisningsmässig, juridisk eller skatterelaterad rådgivning. Innehav av krypto/digitala tillgångar, inklusive stablecoins, innebär en hög grad av risk och kan variera kraftigt. Du bör noga överväga om handel med eller innehav av krypto/digitala tillgångar är lämpligt för dig med hänsyn till din ekonomiska situation. Rådgör med din juridiska/skatte-/investeringsrådgivare om frågor som rör dina specifika omständigheter. Information (inklusive marknadsdata och statistisk information, i förekommande fall) som förekommer i detta inlägg är endast avsedd som allmän information. Även om all rimlig omsorg har iakttagits vid framställningen av dessa data och grafer, tas inget ansvar eller skuld för eventuella sakfel eller utelämnanden häri.

Digitala tillgångar är föremål för volatilitet och är inte försäkrade. Utgör inte finansiell rådgivning eller investeringsrådgivning. Alla produkter och tjänster erbjuds inte i alla regioner. Undantag och villkor gäller.

© 2026 OKX. Denna artikel får återges eller distribueras i sin helhet, eller så får utdrag på 100 ord eller mindre av denna artikel användas, förutsatt att sådan användning är icke-kommersiell. All återgivning eller distribution av hela artikeln måste också tydligt ange: ”Denna artikel är © 2026 OKX och används med tillstånd.” Tillåtna utdrag måste ange artikelns namn och innehålla en källhänvisning, till exempel ”Artikelns namn, [författarens namn i tillämpliga fall], © 2026 OKX.” Visst innehåll kan vara genererat eller framtaget med hjälp av verktyg för artificiell intelligens (AI). Inga bearbetningar eller annan användning av denna artikel är tillåten.

Relaterade artiklar

Visa mer
Generic charts thumbnail

What is a fill-or-kill (FOK) order?

**Fill or kill (FOK) is an execution condition requiring the entire order to fill immediately or be canceled in full.** It accepts no partial fill and leaves no unfilled quantity waiting for another o
12 nov. 2026
thumbnail:bullish-calendar-spread-strategy

What is a maker?

**A maker is the party that first provides a quote in an order book and later trades when another order matches it.** An order book records unfilled buy and sell quotes and their quantities. In order-
12 nov. 2026
trade-academy-beginner-4

What is a taker?

**A taker is the party that immediately matches and trades against a quote already in the order book.** The order book records unfilled buy and sell quotes and their quantities. A taker accepts one of
12 nov. 2026
Options trading generic thumb

What is the bid-ask spread?

**The bid-ask spread is the difference between the lowest ask and highest bid in the same market at the same time.** In an order-book-based crypto market, it describes the distance between the closest
12 nov. 2026
Forward Contracts vs. Futures Contracts What Are the Differences

What is a post-only order?

**A post-only order adds a requirement to a limit order: post a quote without immediately taking an existing one.** In order-book-based crypto spot and derivatives markets, the order book records unfi
12 nov. 2026
thumbnail:arbitrage-order

What is an immediate-or-cancel (IOC) order?

**An immediate-or-cancel (IOC) order requires the quantity currently available to fill immediately, with any unfilled remainder canceled.** In order-book-based crypto markets, the order book records u
12 nov. 2026
Visa mer