DEX essentials

How arbitrage aligns pool prices with outside markets

Explain how trades connect reserve-based pool prices to outside markets without assuming an AMM automatically copies a price feed.

In a reserve-priced AMM, trades change the pool's price. When its exchange terms differ sufficiently from other markets, arbitrage can create an incentive to trade across the difference, moving the pool toward broader market conditions.

The pool does not need a trader to edit its price

Imagine a hypothetical pool where A is cheaper in B terms than elsewhere. Buying A from that pool removes A and adds B. Under a constant-product rule, that reserve movement makes further A purchases more expensive.

The arbitrage process links markets through actual inventory-changing trades. It does not require the pool to read a centralized exchange ticker and directly reset its reserves.

Uniswap's pricing discussion explains reserve pricing and the relationship to external market observations. CFMM routing research includes identifying arbitrage opportunities within a market network.

Alignment is not instantaneous equality

Execution charges, trading fees, inventory constraints and competition can leave differences between markets. Prices also keep moving while transactions are considered and submitted. There is no universal guarantee that every pool exactly matches an external reference at every moment.

A thin pool can show a striking marginal price while supporting little size at that level. The amount needed to move it and the amount available to trade elsewhere determine the actual opportunity.

What this means for a swap quote

The router sees pool states produced by prior activity, including arbitrage. It still needs to quote the requested size against the current reserves. A belief that arbitrage normally aligns markets does not justify treating a displayed reference price as a guaranteed fill.

Likewise, an observed divergence can have several causes and does not automatically imply a defect in the invariant. The mathematical rule can operate correctly while external prices change faster than trades align the pool.

This is an explanation of price formation, not an assessment of a live arbitrage opportunity. A profitable execution claim would require fresh, amount-specific evidence across all relevant steps.

Sources & verification (2)

Source-check date is recorded in the article details. URLs are provided for manual verification. Use Copy to keep this page open.

  1. Uniswap v2 Pricing

    Reserve pricing, invariant enforcement and exact swap modes.

    https://developers.uniswap.org/docs/protocols/v2/concepts/pricing
  2. Optimal Routing for Constant Function Market Makers

    Routing across CFMM networks; fixed execution costs alter optimization complexity.

    https://web.stanford.edu/~boyd/papers/cfmm_routing.html

Continue reading

AMM reserves and price feeds have different jobs How constant-product pools price a swap How stable-swap pools handle correlated assets