# Auto-Exit

Automate liquidity exits based on set conditions.

Auto-exit can be configured in three different ways:

1. Exit & Hold: Exit the position and hold the assets in the same proportion as in the liquidity pool.
2. Exit & Swap: Exit the position and swap from one asset to another to reach the desired asset or a proportion of assets.
3. Exit & Reinvest (*coming soon*): Exit the position and reinvest in either external protocol or in any other pool in A51.

Exit will be triggered based on these parameters:

1. Lower Threshold: Define how low the TWAP of one asset decreases against the other before liquidity is exited.
2. Upper Threshold: Define how high the TWAP of one asset increases against the other before liquidity is exited.
