# Automatic Deleveraging (ADL)

Strictly as a last resort, if LSP program participants and the Arkham Insurance Fund cannot fully cover a liquidated position, the exchange resorts to Automatic Deleveraging (ADL). During ADL, the system automatically closes out positions by matching them with opposing open positions held by other traders on the platform.

### How ADL Works:

The exchange looks for opposing positions (e.g., a long position matched against a short position) held by other participants, ranked by leverage and unrealized PnL (uPnL). The highest leverage/uPnL position will be closed out against the insolvent trader’s position, to bring the insolvent account back into compliance with the margin requirements.

### Impact on Other Traders:

Traders with high leverage and profits are prioritized for ADL matching, meaning their positions might be automatically reduced or closed to balance the risk on the exchange.

Auto-deleveraging is an important final safeguard on the solvency of the platform, and is strictly used as a last resort.


---

# 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://codex.arkm.com/the-arkham-exchange/automatic-deleveraging-adl.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.
