Constant Product
Constant Product Formula
Mathematical formula (x*y=k) used by AMMs for automatic pricing
Definition
The constant product formula (x*y=k) is the mathematical model used by AMMs like Uniswap to automatically set prices based on token ratios in liquidity pools.
Example
In a ETH/USDC pool, if you buy ETH, the ETH amount decreases and USDC increases, maintaining the constant product while raising ETH's price.
What to check
Treat it as a trading concept: compare expected benefit with fees, slippage, liquidity, volatility, and execution risk. The main checks are: Price impact; Arbitrage opportunities; Impermanent loss.
Risks to Consider
- Price impact
- Arbitrage opportunities
- Impermanent loss
Common Questions
What does Constant Product mean in DeFi?
Constant Product means Mathematical formula (x*y=k) used by AMMs for automatic pricing. The useful question is not only the definition, but how the mechanism changes risk, return, liquidity, or governance for the user.
How is Constant Product used in practice?
A practical example: In a ETH/USDC pool, if you buy ETH, the ETH amount decreases and USDC increases, maintaining the constant product while raising ETH's price.
What should I check before relying on Constant Product?
Check price impact, arbitrage opportunities, impermanent loss. Also verify liquidity, oracle assumptions, admin controls, and whether the protocol has been tested during stressed markets.
