# Auto-Compound

> **Auto-Compound automatically reinvests your earnings from liquidity pools to maximize returns through compounding, saving you time and boosting your overall earnings.**

**Step 1: Pick a position and access Auto-Compound feature**

You can set up Auto-Compound for your LP positions on the “Automation” page:

* From the "Automation" page, click "New Setup" and choose the position you want to set up Auto-Compound

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(175).png" alt=""><figcaption></figcaption></figure>

**Step 2: Configure Auto Compound Parameters and confirm the setup**

* In the Compound Trigger section, you can set up the Trigger by Time or Fee:
  * Fee: Compound when a specific fee threshold is reached.
  * Time: Compound at set time intervals.

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(176).png" alt=""><figcaption></figcaption></figure>

* In the Settings section:
  * Gas Fee Ceiling: The maximum amount of gas fee you are willing to pay for a compound transaction. If the cost is higher than the Gas Fee Ceiling, the transaction won't be initiated. The maximum value is 30% of your Earned Fees.
  * Pool Slippage and Swap Slippage help protect you by reverting the transaction if there's any unfavorable price movement.

**Step 3: Track your Auto-Compound Strategy on the Automation Tab**

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(177).png" alt=""><figcaption></figcaption></figure>


---

# 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.krystal.app/products/liquidity-management/lp-transactions/auto-compound.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.
