> For the complete documentation index, see [llms.txt](https://docs.7k.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.7k.ag/7k-lp-pro/automation/auto-exit.md).

# Auto Exit

## **What is Auto Exit?**

Auto Exit is an automation feature that helps you protect your liquidity and lock in gains by automatically exiting your LP position when the market hits conditions you define. Instead of manually watching the chart 24/7, Auto Exit ensures your position is closed at the right moment and the funds are returned to your wallet.

<figure><img src="/files/nvHi3TSuIYYE8EAiFiyr" alt=""><figcaption></figcaption></figure>

### Why Use Auto Exit?

* **Protect Capital:** Exit before large price drops.
* **Secure Profit:** Lock in gains when the price reaches your target.
* **Eliminate Emotion:** Automate decisions with rule-based logic.
* **Hands-Free Safety:** Avoid missing exit opportunities due to market volatility.

## How It Works

Auto Exit monitors the pool price and triggers an exit when your chosen condition is met.&#x20;

Available trigger types include:&#x20;

* Absolute Price Trigger
* Percentage Trigger
* Range Trigger

### **1. Absolute Price Trigger**

<figure><img src="/files/JSCQBNgpFEqbkF6og9Nb" alt=""><figcaption></figcaption></figure>

Fires when price goes below or above your configured Start Price offsets.

* Below Start Price by X
* Above Start Price by Y
* Supports using both directions

**Example (SUI/USDC):**

* Start Price: **2.90**
* Below Start Price by **-0.3** → Exit when price hits **2.60**
* Above Start Price by **+0.5** → Exit when price hits **3.40**

### **2. Percentage Trigger**

<figure><img src="/files/JnVSNX5xHKfOWn7XHk83" alt=""><figcaption></figcaption></figure>

Fires when price moves by a percentage relative to your Start Price.

* Below Start Price by X%
* Above Start Price by Y%
* Supports using both directions

**Example (SUI/USDC):**

* Start Price: **3.00**
* Below by **-10%** → Exit at **2.70**
* Above by **+15%** → Exit at **3.45**

### **3. Range Trigger**

<figure><img src="/files/tp4QBwVF2AsXmhCTSO9G" alt=""><figcaption></figcaption></figure>

Fires when the price leaves a defined range.

* Price drops below Min
* Price rises above Max
* Supports using both directions

**Example (SUI/USDC):**

* Min range: **2.50** → Exit if price drops below 2.50
* Max range: **3.60** → Exit if price rises above 3.60

### **Time Delay (Optional)**

Adds a buffer period before exit executes. If the price condition is still valid after this delay, the exit is triggered.

<figure><img src="/files/gacVA94jrvkfV72ooiPO" alt=""><figcaption></figcaption></figure>

**Example:**

* Time Delay: **12 hours**
* Price hits trigger but quickly reverses → No exit
* After 12 hours, if price is still beyond the trigger → Exit executes

Once triggered, Auto Exit closes your LP position and returns the assets to your wallet.

## How to Set Up Auto Exit

Follow these steps to create an Auto Exit rule:

### **Step 1 — Open Your Position Details**

Go to **LP Pro → Open Positions**, then select the position you want to automate.

<figure><img src="/files/QjXgwllPRcCp9bnK5XuF" alt=""><figcaption></figcaption></figure>

### **Step 2 — Create Auto Exit**

Click **Create Auto Exit** to begin configuring your rule.

<figure><img src="/files/ZV3ZeZarz5FfFg6Bn7V9" alt=""><figcaption></figcaption></figure>

### Step 3 — Confirm Setup

Click **Confirm** to activate your Auto Exit rule. The system begins monitoring immediately.

<figure><img src="/files/vST0S5EWltR9xZydWsWM" alt=""><figcaption></figcaption></figure>

### Step 4 — Monitor Auto Exit Activity

In your Position Details, you will find a detailed list of all Auto Exit rules you have configured:

<figure><img src="/files/8SwVoBVvK9sT2gtcUDm2" alt=""><figcaption></figcaption></figure>

You may disable or modify your Auto Exit rule at any time.

## Summary

Auto Exit gives you full control over when to safely exit your liquidity position. With multiple trigger types and optional Time Delay, it allows you to automate profit-taking or loss protection without constant monitoring.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.7k.ag/7k-lp-pro/automation/auto-exit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
