# Automated LP Adjustments

## Overview

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

Automatically adjust your AMM LP position according to market conditions to continue earning trading fees or dynamically adjust spreads. The [LP Management Building Block](/factor-building-blocks/lp-management.md) also supports management of concentrated liquidity positions in addition to the standard AMM implementation.

This strategy requires an existing LP position to be opened. If your market conditions are met, all of the liquidity from your existing LP position is withdrawn and a new position is opened with varying parameters and token ratios. LP position parameters can be defined based on your market making goals, whether it's to adjust token ratios, liquidity price ranges, or even liquidity pool fee tiers.

For any adjustments of token ratios to meet LP deposit requirements, your tokens are swapped at the best available rates and immediately added to the new LP position to generate fees.

## Potential Alpha

* **Non Stop Yields:** Automate position adjustments to ensure that your position is always in range and earning trading fees and any liquidity incentives.
* **Minimize Risks & Overheads:** Reduce the amount of time required to create a position while simultaneously eliminating any market volatility risks during the position adjustment process.

## Strategy Building Blocks

{% hint style="success" %}
The building block order mirrors the Factor Studio UI and can be expanded for further strategy details and parameters.
{% endhint %}

{% hint style="info" %}
[**Automated Strategy**](/factor-studio/factor-studio/automated-strategies.md)

This is an automated strategy whereby you can configure a time-based one-time/recurring trigger for your strategy.&#x20;
{% endhint %}

<details>

<summary><a href="/pages/2DoafHT21Q5bdLGON2Mz">IF Conditional</a></summary>

* This condition will be checked each time this strategy is executed by the automation feature.
* Specify your target market condition for when to adjust your LP position.

</details>

<details>

<summary><a href="/pages/BaAYn6eNCZMmd14SjfMu"><strong>Withdraw Liquidity</strong></a></summary>

* Remove all liquidity from the existing LP position.

</details>

<details>

<summary><a href="/pages/8ObgSjNh6pntp9BtqQIc">Swap</a></summary>

* Depending on the parameters of your new position, swap between pool tokens to get the ratio of tokens required.

</details>

<details>

<summary><a href="/pages/BaAYn6eNCZMmd14SjfMu"><strong>Create LP</strong></a></summary>

* Create a concentrated liquidity position for the token pair.
* Select the target pool.
* Adjust the price range to provide liquidity to.
* Add the required ratio of tokens.

</details>


---

# 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.factor.fi/getting-started/strategy-cheatsheet/liquidity-provision-cheatsheet/automated-lp-adjustments.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.
