# Liquidation

### Liquidation Process

Cross-margin accounts have two liquidation thresholds:

**Position Liquidation (110% margin ratio)**\
Individual positions may be liquidated to restore portfolio health. Liquidated positions appear in your order history marked as "liquidation".

**Portfolio Liquidation (105% margin ratio)**\
If the margin ratio falls below 105%, your entire portfolio is liquidated.

#### The Cross Margin Ratio Formula:

$$
cross,margin,ratio = (adjusted,equity + unrealized,PnL) / maintenance,margin\\
$$

$$
maintenance,margin = portfolio,margin \* maintenance,margin,ratio (5%)
$$

{% hint style="info" %}
If a position is liquidated, users can find the record in their order history labeled as "liquidation".
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.drake.exchange/trading/margin/cross-margin/liquidation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
