IInvest Like the Best
← All frameworks
FinanceDoug Colkitt

The AMM Liquidity Provider Model (Constant Product to Concentrated Liquidity)

How automated market makers price assets, and what you are really betting on when you provide liquidity.

Difficulty
Moderate
Time to result
~weeks to results
Steps
6
Confidence
88%

A mechanical model for understanding decentralized exchange liquidity. In a classical constant-product AMM, liquidity providers deposit equal value of two assets into a pool; a trader takes one asset out and puts the other in, and the algorithm reprices the pair based on the resulting ratio while holding the product constant. LPs earn a pro-rata share of a fixed percentage trading fee. The hidden position is what the space calls impermanent loss: because the pool always rebalances toward the asset that is falling, an LP effectively has square-root rather than linear exposure and is short volatility of the price ratio. Uniswap V3's concentrated liquidity lets providers choose a price range, dramatically improving capital efficiency and making liquidity provision resemble limit-order placement.

Origin

The constant-product mechanism was sketched by Vitalik Buterin in a blog post and first implemented by Hayden Adams as Uniswap; Curve and Uniswap V3 then iterated on capital efficiency.

Core principles

  • 01Price in an AMM is simply the ratio of assets in the pool
  • 02LP yield comes from a pro-rata share of trading fees
  • 03Providing liquidity is structurally short the volatility of the pair ratio
  • 04Full zero-to-infinity ranges are capital inefficient for stable pairs
  • 05Concentrated ranges improve efficiency but require active management

How to run it

  1. 1

    Understand the constant product mechanic

    Picture a pool with 1,000 euros and 1,000 dollars. A trader deposits $100 and receives slightly fewer than 100 euros back. The pool now holds roughly $1,100 and 900 euros, so the price of euros has risen. The algorithm simply keeps the product of the two balances constant.

    Pro tip Because price is derived from the ratio, no order book or professional quoter is required — that is what made long-tail assets tradeable.

  2. 2

    Contribute capital and take a pro-rata claim

    You do not personally quote prices. You deposit into the pool and own a pro-rata share of it, accruing your share of the fees the pool collects between the time you enter and the time you exit.

    Pro tip Fees accrue on both sides of the pair, so you may be paid in either asset depending on trade direction.

  3. 3

    Price the fee tier against expected movement

    Pools carry fixed fee tiers — Uniswap has run 0.3%, 0.05% and 0.01% tiers approved by token-holder vote. A lower tier suits pairs you expect to stay stable; a higher tier compensates you when you expect the ratio to move.

    Pro tip Think of the fee tier as the spread you would quote as a traditional market maker.

  4. 4

    Recognise you are short impermanent loss

    The pool always rebalances in the direction traders don't want: as Bitcoin rises against Ether, traders buy Bitcoin out and push Ether in. Your payoff is square-root rather than linear, so a 4x move in the pair may deliver only 2x. You are effectively betting the ratio stays stable.

    Pro tip Ask explicitly: am I willing to express the view that these two assets stay in ratio?

    Watch out The term 'impermanent loss' understates the risk — the loss is only impermanent if the price actually returns.

  5. 5

    Choose a concentrated range for capital efficiency

    Rather than supporting every price from zero to infinity, set the range you actually expect to trade in — Curve does this implicitly for dollar-pegged pairs, and Uniswap V3 lets you do it explicitly, say from $0.80 to $1.20. You commit far less capital for the same depth.

    Pro tip Concentrated liquidity starts to look like a limit order book, which is why it improves price discovery.

    Watch out If price leaves your range you stop earning fees, and you remain exposed to being filled in the wrong direction.

  6. 6

    Compare pools by risk, not just APY

    Do not rank pools by headline yield alone. Different pools carry different exposure, different volatility of the pair ratio, and different fee tiers. Translate each into what your cash flows and downside actually look like.

    Watch out Tooling in the space still papers over impermanent loss when reporting yields.

In the wild

Curve and the stablecoin pair

Two dollar-pegged stablecoins such as USDT and USDC should almost never trade far from parity. Deploying a classical constant-product curve across every price from zero to infinity wastes enormous capital supporting prices that will never occur. Curve instead uses a modified curve that behaves as though the pool holds far more capital than it does, valid precisely because the price barely deviates. The result is far deeper trading with far less deposited capital.

→ Established capital efficiency as the central design axis for AMMs and made Curve a dominant venue for stable pairs.

The Bitcoin-Ether LP's square-root payoff

An LP deposits into a Bitcoin/Ether pool expecting a yield on idle assets. Bitcoin then rallies hard against Ether. Traders arrive to buy Bitcoin out of the pool and deposit Ether, so the LP's holdings rebalance continuously into the underperforming asset. If the price of Bitcoin quadruples relative to Ether, the LP captures roughly a 2x rather than a 4x return, compensated by accumulated trading fees.

→ Clarifies that LP returns are a fee stream sold against a short volatility position on the pair ratio.

Common mistakes

Ranking pools purely by advertised APY

Some pools carry materially more risk on different sides than others. Comparing yields without adjusting for the exposure and impermanent loss profile is the most common error Colkitt sees among LPs.

Treating an out-of-range position as safe

When a concentrated position moves out of range people assume they can forget it, but they remain exposed to the toxicity effect — the market can move through them and fill them in the wrong direction.

Believing impermanent loss is always temporary

The name implies the loss reverses. It only reverses if the price ratio returns to where you entered; otherwise it is simply loss.

Is it for you?

Best for

Crypto asset holders evaluating whether and where to provide liquidity.

Not ideal for

Traders looking for directional alpha rather than intermediation yield.

From the transcript

“It's a very simple mechanism where the price is just adjusting based on the ratio of the assets in it and it's always just keeping…”

Doug Colkitt

“In some sense, if I'm a liquidity provider in AMM, I'm short IL.”

Doug Colkitt

“Instead of providing liquidity from zero to infinity, I'm going to pick my price.”

Doug Colkitt

From the episode

Doug Colkitt - The Evolution of Markets - [Invest Like the Best, EP. 255]

Doug Colkitt

→