# Constant Product Market Maker (CPMM)

:arrow\_left:[Go Back](/ion-finance-doc/welcome-to-ion-finance.md)

CPMM 🤖 leverages the constant product market maker model to facilitate liquidity provision and trading within the ION Finance ecosystem. The core principle of these pools is the constant product formula, which maintains the product of the quantities of two tokens in a pool at a constant value. This design ensures that the pools can offer continuous liquidity, even in the face of significant price movements.

The CPMM Pools on ION Finance are characterized by their simplicity and adaptability to fast price fluctuations, making them accessible and reliable for a wide range of users. The straightforward design ensures ease of use and broadens participation by making liquidity provision approachable for individuals of all experience levels, thereby fostering a more inclusive financial ecosystem. Additionally, these pools are adept at handling assets prone to rapid price fluctuations, thanks to the constant product formula that maintains liquidity at all times. This ensures a stable platform for trading and liquidity provision, even in the face of swift market changes, making CPMM Pools an ideal choice for engaging with volatile DeFi assets.

The CPMM model operates on the principle that the product of the reserves of two tokens in a pool (A and B), denoted as x \* y = k, remains constant. When a trade occurs, the amount of one token in the pool decreases while the other increases, with the product of the two reserves always equaling a fixed value (k). This mechanism allows the pool to automatically adjust prices based on the relative supply of the tokens, ensuring liquidity is retained fluidly across a broad range of trading activities.

{% hint style="info" %}
On ION Finance the <mark style="background-color:purple;">Constant Product Market Maker (CPMM)</mark> pools are represented by what we call [Simple mode](/ion-finance-doc/guidelines/for-liquidity-providers/how-to-use-less-than-less-than-earn-greater-than-greater-than.md).
{% endhint %}

:arrow\_left:[Go Back](/ion-finance-doc/welcome-to-ion-finance.md)


---

# 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://ion-finance-1.gitbook.io/ion-finance-doc/welcome-to-ion-finance/constant-product-market-maker-cpmm.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.
