# How to Create an Auto-Pool?

An auto-pool is a fully customized and automated liquidity strategy created on top of liquidity pools. Here is the step-by-step guide to creating an auto-pool:

Click the Create Auto-Pool button.

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

## Initialize Pool

1. On Initialize Pool page, select tokens from the list of tokens.
2. Set the initial price.\
   \&#xNAN;*Initial Price: The starting price the pool will process swaps at and it should be equal to the current market price.*
3. Define tick spacing. Either enter manually or choose from hot actions given in the field.\
   \&#xNAN;*Tick Spacing: Refers to the minimum interval between price ticks in a pool, determining the granularity at which liquidity can be concentrated.*
4. Define the management and platform fees.\
   \&#xNAN;*Management Fee: An upfront fee percentage applied to the capital when LPs withdraw from an auto-pool.* \
   *Platform Fee: A fee percentage that LPs earn based on the profits their auto-pools generate for other LPs.*
5. Choose whether you want to keep your auto-pool private or public.

<div><figure><img src="/files/8lIjjsWUAigwooZxDAmG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/T3l37tiilwqLPpJkaTfu" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/ZSdO40TDT2rqDAL4KU8r" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/XbTTVJ5hXQ27BccRsLtE" alt="" width="563"><figcaption></figcaption></figure>

Click "Next" to proceed.

## Define Fee Intent

On the second step, the user is given two options to choose from: Statis fee or Dynamic fee.

<figure><img src="/files/BB0J67Sz7Fq9dcq1Xx8y" alt="" width="563"><figcaption></figcaption></figure>

If you choose Static, enter the amount of swap fee or pick a fee percentage from hot actions that would be charged for each swap. You can also increase or decrease the percentage using the add and reduce signs.

<figure><img src="/files/vNIalN4tR1Tw0QjCyeyM" alt="" width="563"><figcaption></figcaption></figure>

If you choose Dynamic, enter the minimum swap fee, maximum swap fee, quadratic multiplier and TWAP duration or select from hot actions.

*Min Swap Fee: The lowest possible swap fee. This fee applies when the pool price is at the TWAP.*

*Max. Swap Fee: The highest possible swap fee. This fee applies when the pool price deviates significantly from the TWAP.*

*Quadratic Multiplier: Adjust how quickly the swap fee increases as the price deviates from TWAP. Higher values make the fee more responsive to price changes.*

*TWAP Duration: The time window for querying the Time-Weighted Average Price (TWAP) used during fee calculation. Smaller values avoid charging overly high swap fees for long but are worse at capturing fees from longer-term volatility.*

<figure><img src="/files/if1F84XYYju5NZ373rDR" alt="" width="563"><figcaption></figcaption></figure>

Choose whether you want to compound your fees or claim your earned fees.

<figure><img src="/files/FDdDm5ci1B7bIhqNz2wJ" alt="" width="563"><figcaption></figcaption></figure>

Click "Next" to proceed.

## Set Price Range

The next step is to define the price range for your auto-pool within which you have your liquidity position.&#x20;

1. Set a minimum price.\
   \&#xNAN;*The lowest asset price at which your strategy kicks in to manage liquidity.*
2. Then set a maximum price.\
   \&#xNAN;*The highest asset price at which your strategy kicks in to manage liquidity.*

<figure><img src="/files/lZMK37mIxfi2BO8SsLwt" alt="" width="563"><figcaption></figcaption></figure>

Click "Next" to proceed.

{% hint style="info" %}
You can always go back and edit your auto-pool automations by clicking the "Back" button.
{% endhint %}

## Define Market Shift Intent

1. Set a market shift intent from given market modes:\
   Bull, Bear, Dynamic, and Static.
2. Set the TWAP duration. You can enter manually or choose from hot actions.\
   \&#xNAN;*The time window for querying the Time-Weighted Average Price (TWAP) used when querying the liquidity distribution. Longer durations mean less frequent shifting.*

<figure><img src="/files/S7SKYeQ8KCfzYJXpfsAN" alt="" width="563"><figcaption></figcaption></figure>

Click "Next" to proceed.

## Define Auto-Rebalance Intent

To trigger rebalancing, you have to define the price range that, when hit, triggers a rebalance. On Carbon, you can find two types of rebalancing intents:

1. Active Rebalancing
2. Trailing Rebalancing (coming soon)

Here you can see the pre-filled fields of Price Ranges that you set.

Set the minimum and maximum price deviation from the set price range.

<figure><img src="/files/JE4Y1q0e2YlwFdyBgUuc" alt="" width="563"><figcaption></figcaption></figure>

Click "Next" to proceed.

## Define Auto-Exit Intent


---

# 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.a51.finance/carbon/a51-v3/guides/how-to-create-an-auto-pool.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.
