# Automatic Deleveraging

The stability and solvency of the platform is of paramount importance.  The health of the central pool ensures that trades can be executed at any size, and that risks are mitigated.

Surge incorporates a fail-safe mechanism that protects the pool in the event that these risk thresholds are breached.  For example, assume a number of leveraged positions are particularly profitable at a period in time.  The pool requires adequate capital to ensure that if those positions are closed, the profits can be paid to traders and the platform can continue to function with sufficient liquidity.

In the rare event that open positions create a situation where the liquidity of the pool might be at risk, the system (via [Keepers](/about-surge/keepers.md)) may force-close some positions.

The criteria for automatically deleveraging a position are as follows:

1. The market imbalance (skew risk) exceeds 100%.
2. The position's return on investment (ROI) is above the threshold, which decreases as skew risk increases.
3. Closing the position reduces risk to the central pool.


---

# 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.surge.trade/about-surge/automatic-deleveraging.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.
