> For the complete documentation index, see [llms.txt](https://dasus.gitbook.io/dasus-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dasus.gitbook.io/dasus-docs/trading-concepts/liquidation.md).

# Liquidation

Liquidation is the forced closure of a leveraged position when its margin can no longer support it. On Dasus it is executed entirely by Hyperliquid — the same on-chain engine that matches your orders. Dasus never holds your funds and never triggers a liquidation; what it does is show you where one would happen, before you trade and on every open position, and warn you when a stop sits too close to it.

{% hint style="danger" %}
Leveraged trading is high risk. A liquidated position can lose the **entire margin** behind it — and in cross margin, more of the account than that one position. Never trade with funds you cannot afford to lose.
{% endhint %}

## Maintenance margin

* **Initial margin** is what you post to open a position: order value ÷ leverage.
* **Maintenance margin** is what must remain for the position to stay open. On Hyperliquid it is **half the initial margin at the market's maximum leverage**: a 50× market has a 1% maintenance requirement, a 20× market 2.5%, a 10× market 5%.

The gap between the two is your buffer. The higher your leverage, the thinner it is: the price has to move less against you before the maintenance line is crossed. When it is, Hyperliquid closes the position at the prevailing market conditions and the margin backing it absorbs the loss.

## The estimate in the order form

**Liquidation Price** in Order Details is an estimate for the order you are typing, built with Hyperliquid's rule: the price at which the collateral backing the position would be worn down to the maintenance margin.

| Margin mode                | What backs the order                                                                                                                                                                                       |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Isolated**               | Only this order's margin                                                                                                                                                                                   |
| **Cross**                  | Your whole perps account value, minus the maintenance margin of your other cross positions (or this order's margin, if that is larger)                                                                     |
| **Cross, Unified account** | The same — and because Hyperliquid keeps a Unified account's USDC on the spot side, that USDC counts as the account value. The estimate therefore reflects your whole balance, not only the order's margin |

From that backing the estimate subtracts the new position's maintenance margin and turns the remainder into a price distance: for a long, entry − buffer ÷ size; for a short, entry + buffer ÷ size.

Three things to know about the row:

* **N/A with a size typed** means the arithmetic gives no price. For a long backed by more than its whole value — typical on a Unified account with a small order and a healthy balance — the price would have to fall below zero, so the position cannot be liquidated by price alone. A short can always be liquidated: a price can rise without limit.
* **With no size typed** and an open position, the row shows **Hyperliquid's real liquidation price** for that position — the same number as the Positions table.
* **Lite** uses the same maintenance rule but backs a cross order with the perps account value only, so on a Unified account with no perp position yet its estimate can read closer than Pro's.

The estimate is repeated in the **Confirm order** popup. It is a projection at the mark price: funding, fills at other prices and your other positions move it.

## After the trade: the position's liquidation price

The **Liq. Price** column of the Positions table (and the Lite position card) is Hyperliquid's own figure for the live position, updated as the mark price, your margin and your other positions change. Liquidations are measured against the **mark price** — a smoothed reference, not the last trade — see [Entry Price & PnL](https://dasus.gitbook.io/dasus-docs/trading-concepts/entry-price-pnl.md).

| Factor                      | Effect on the liquidation price                                                                                                                   |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Leverage**                | Higher → closer to entry; lower → more room                                                                                                       |
| **Position size**           | Larger positions consume more margin and are more sensitive to price moves                                                                        |
| **Margin mode**             | Cross: losses elsewhere pull it closer. Isolated: only that position's margin counts                                                              |
| **Unrealized PnL**          | Losses shrink the buffer; in cross, one losing position affects the others                                                                        |
| **Funding**                 | Payments add to or subtract from your margin over time — see [Funding Rate](https://dasus.gitbook.io/dasus-docs/trading-concepts/funding-rate.md) |
| **Isolated margin changes** | Adding margin moves it away; removing margin brings it closer                                                                                     |

## Stops and liquidation

A stop loss exits at a price you choose, before liquidation is in play — almost always the better outcome. Dasus warns when the two are too close:

* In the order form: *Your Stop Loss is at or very close to the liquidation price (\~X). You could be liquidated before it triggers — adjust it or lower your leverage.* (within 1.5% of the estimate).
* In the position's TP/SL modal: a popup when the stop sits in the last 15% of the distance between the mark and the liquidation price, with **Place anyway**.

If [Guardian Mode](https://dasus.gitbook.io/dasus-docs/trading/guardian-mode.md) is on, its **Liq. distance** row and its *minimum distance to liquidation* rule use the same estimate as the order form.

## How to keep away from it

There is no way to make leverage safe — only ways to manage it:

* **Use lower leverage.** The most direct lever: halving leverage roughly doubles the distance.
* **Size conservatively.** Risk a small fraction of the account per trade, so no single loss threatens the balance.
* **Keep or add margin.** In cross, spare balance in the account is the buffer; on an isolated position, add margin from the Positions table.
* **Set the stop first.** See [Take Profit / Stop Loss](https://dasus.gitbook.io/dasus-docs/trading/tp-sl.md).
* **Watch the number.** It is on every position. If the mark approaches it, reduce, add margin or close.

{% hint style="warning" %}
Fast markets gap through levels. Do not rely on reacting in time — place the protective orders when you open the trade.
{% endhint %}

## What happens when a position is liquidated

* Hyperliquid closes the position and the margin backing it absorbs the loss. In isolated margin the loss is capped at that margin; in cross margin the position draws on the shared balance first, so more of the account can go.
* The realized loss is booked and appears in your Trade History. Liquidation is more expensive than closing the position yourself — see [Fees](https://dasus.gitbook.io/dasus-docs/the-app/fees.md).

## Related pages

* [Margin & Leverage](https://dasus.gitbook.io/dasus-docs/trading-concepts/margining.md) — cross vs. isolated margin, account types and leverage
* [Take Profit / Stop Loss](https://dasus.gitbook.io/dasus-docs/trading/tp-sl.md) — protect positions before liquidation is a risk
* [Funding Rate](https://dasus.gitbook.io/dasus-docs/trading-concepts/funding-rate.md) — periodic payments that move your margin over time
* [Order Types](https://dasus.gitbook.io/dasus-docs/trading/order-types.md) — stop market and stop limit orders


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://dasus.gitbook.io/dasus-docs/trading-concepts/liquidation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
