> For the complete documentation index, see [llms.txt](https://docs.syncswap.xyz/syncswap-technical-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.syncswap.xyz/syncswap-technical-docs/stable-pool/overview.md).

# Overview

The SyncSwap Stable Pool is optimized for stablecoin trading, utilizing a hybrid algorithm that combines both the constant product and constant sum formulas. This design aims to provide highly efficie

**Features**

* **Hybrid Algorithm**: Utilizes both constant sum (x + y = k) and constant product (x \* y = k) algorithms.
* **Efficient Trading**: Optimized for stablecoin pairs like USDC/USDT, ensuring minimal slippage and high efficiency.
* **Dynamic Pricing**: Adapts to price deviations, maintaining flexibility and accurate price discovery.

**How It Works**

The Stable Pool employs a dual-algorithm approach to manage liquidity and pricing:

1. **Constant Sum Algorithm (x + y = k)**:
   * This algorithm is used when the prices of the pooled assets are close to 1:1. It ensures highly efficient trades with minimal slippage, making it ideal for stablecoins that maintain a stable value relative to each other.
2. **Constant Product Algorithm (x \* y = k)**:
   * When the prices of the assets deviate from the 1:1 peg, the pool switches to the constant product algorithm. This approach, similar to traditional AMMs, ensures that the pool can handle price fluctuations and provides a mechanism for robust price discovery.

**Use Cases**

* **Stablecoin Trading**: Designed primarily for trading stablecoins, the Stable Pool offers an optimal environment for low-slippage trades between assets like USDC, USDT, and DAI.
* **Liquidity Provision**: Liquidity providers can deposit stablecoins into the pool to earn a share of the trading fees. This provides a low-risk opportunity to earn returns on stable assets.
* **Arbitrage**: Traders can exploit price differences between the Stable Pool and other markets, helping to keep prices aligned and providing liquidity.

**Comparison with Other Pools**

* **Classic Pool**: Uses a constant product algorithm suitable for a wide range of asset pairs but not optimized for stablecoins.
* **Aqua Pool**: Dynamically concentrates liquidity around the market price, providing tighter spreads and enhanced efficiency for volatile assets.

***

For more detailed information on the technical implementation of the SyncSwap Stable Pool, refer to the subsequent sections of this documentation.
