Skip to main content

How Does a Constant Product Market Maker (CPMM) Model Create Arbitrage Opportunities?

A CPMM, like the one used by Uniswap V2, maintains a constant product $x y = k$, where $x$ and $y$ are the quantities of the two assets in the pool. When a trade occurs, the ratio of $x$ and $y$ changes, which in turn changes the asset price.

If a trade on the CPMM causes the price to deviate from the price on other exchanges, an arbitrage opportunity is created. Arbitrageurs exploit this temporary price difference to profit and bring the pool's price back in line with the broader market.

How Does an Automated Market Maker (AMM) Algorithm Maintain the Constant Product in a Liquidity Pool?
How Does the Constant Product Formula (X Y=k) Govern an LP?
How Does a Constant Product Market Maker (CPMM) Work?
Why Is IL Considered a Risk for LPs but a Benefit for Arbitrageurs?