> For the complete documentation index, see [llms.txt](https://docs.krystal.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.krystal.app/products/liquidity-management/lp-transactions/compound.md).

# Compound

> **"Compound interest is the eighth wonder of the world." With Krystal, you can easily reinvest all your earned fees and rewards back into your LP position, maximizing your capital effeciency for even greater yield.**

**Step 1: Pick a position and click "Compound"**

You can compound the fees you earn into the same position from (1) the "Strategies" tab or (2) the "Positions" tab in your [**"Profile"**](/products/liquidity-management/profile-dashboard.md) page, or (3) the "Position Details" page:

* From the [**"Strategy Details"**](/products/liquidity-management/profile-dashboard.md) page, on the right-hand side, click “Compound fees.”\\

  <figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(13).png" alt=""><figcaption></figcaption></figure>
* Or from the [**"Positions"**](/products/liquidity-management/profile-dashboard.md) tab in Your Profile Page, click on the three dots icon at the end of the position, then choose “Compound.”

  <figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(21).png" alt=""><figcaption></figcaption></figure>
* Or from the [**"Position Details"**](/products/liquidity-management/profile-dashboard.md) page, click on the “Compound” button in the “Fees” info box. \\

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

**Step 2: Select your slippage and confirm the transaction:**

On the pop-up window, you can use Krystal's default slippage settings or adjust the Pool Slippage and Swap Slippage by clicking the gear icon in the top right corner. Smaller slippage reduces potential loss during your transaction. However, more volatile tokens may require higher slippage for the transaction to succeed, so please adjust these parameters according to the nature of your tokens. Then click "Confirm" at the bottom to compound.

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


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.krystal.app/products/liquidity-management/lp-transactions/compound.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
