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