> For the complete documentation index, see [llms.txt](https://docs.crescent.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.crescent.network/introduction/crescent-dex-legacy/liquidity-pool.md).

# Liquidity Pool

For a coin pair, a liquidity pool can be created by anyone in Crescent DEX, where the liquidity pool is to reserve the amount of two different coins of the coin pair.&#x20;

![Liquidity pool (LP) for a coin pair and LP providers](/files/sy8TsKY04kzGzs8MDDv6)

Users can deposit a pair of coins into the pool so that those users become liquidity providers. A liquidity provider can be anyone who provides liquidity by depositing reserve coins into the pool.&#x20;

In Crescent DEX, a liquidity pool takes a role of automated market maker (AMM) by utilizing CPM (Constant Product Model) to calculate available liquidity.

The pool price is defined as the ratio of the number of the quote coins and the number of the base coins in the pool. For the coin pair `A-B`, the pool price is the number of coin `B` divided by the number of coin `A` in the pool.

Crescent DEX will support multiple liquidity pools for a given coin pair with introducing later ranged pools.&#x20;


---

# 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.crescent.network/introduction/crescent-dex-legacy/liquidity-pool.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.
