# Auto-Exit

Automate liquidity exits based on set conditions.

Auto-exit can be configured in three different ways:

1. Exit & Hold: Exit the position and hold the assets in the same proportion as in the liquidity pool.
2. Exit & Swap: Exit the position and swap from one asset to another to reach the desired asset or a proportion of assets.
3. Exit & Reinvest (*coming soon*): Exit the position and reinvest in either external protocol or in any other pool in A51.

Exit will be triggered based on these parameters:

1. Lower Threshold: Define how low the TWAP of one asset decreases against the other before liquidity is exited.
2. Upper Threshold: Define how high the TWAP of one asset increases against the other before liquidity is exited.


---

# 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.a51.finance/carbon/a51-carbon/key-intents/auto-exit.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.
