Digital Asset Database Digital asset research & education
BTC$77,361+0.35% ETH$2,392-0.77% USDT$0.9998+0.01% BNB$687.31+1.15% XRP$1.35+0.37% USDC$0.9998+0.01% SOL$99.73+0.34% TRX$0.3246+0.51% FIGR_HELOC$1.01-0.12% HYPE$81.84-0.29% ZEC$816.37-0.68% DOGE$0.0818+0.34% RAIN$0.0167+2.44% USDS$1.0000+0.02% XMR$500.56+0.80% LEO$9.24-1.40% WBT$70.88-0.18% LINK$11.12-0.39% ADA$0.1992+1.95% XLM$0.1747-0.35% BCH$244.50-0.27% DAI$1.0000+0.00% CC$0.1101-2.93% USDE$0.9996+0.01% USD1$0.9994+0.00% LTC$49.85+0.49% GRAM$1.33+1.08% UNI$5.88+2.73% HBAR$0.0740-0.05% USDG$1.00+0.04% AVAX$7.18-0.20% SHIB$0.00000516+0.81%
Menu
Home
Assets All assetsSectorsRankingsHeat mapScreenerCompare assets★ Saved
Fundamentals Fees & revenueValue lockedExchange volumeNetwork activityStablecoinsStaking & yield
Valuation Valuation ratiosSupply & issuanceMetric definitions
Institutional Exchange-traded productsCorporate treasuries
Research Research notesEvents calendarRisk frameworkSecurity incidents
Learn Learn libraryGlossaryCalculatorsMethodologyData sourcesData freshnessAI agentsPublic API
News Ask the data Global market About us
Reading options
Photography CryptoStudio
Guided view

New to markets — prices, yields, market cap? We explain every term as you browse, in plain English. Same data, with the help built in.

Expert view

You already know the market. Just the data — clean, fast and compact, with no extra explanations. This is the default view.

Light or dark
Language
Public API

Every figure on this site is available as JSON, with its period and source attached.

Read the API docs
Market structure Working knowledge 8 min

Automated market makers versus order books

One mechanism collects the intentions of traders in a queue; the other quotes from a formula and lets arbitrage supply the price.

An order book matches buyers to sellers by holding a queue of resting offers and executing incoming orders against the best available prices. An automated market maker holds an inventory of two assets in a contract and quotes a price derived from the ratio between them, trading with anyone who arrives. The first mechanism discovers a price from what participants are willing to do; the second imports a price from elsewhere and relies on arbitrage to keep it current.

How a book sets a price

Participants post limit orders specifying a size and a price. The highest bid and the lowest offer define the spread, and the quantities resting at each successive level define market depth. An incoming market order walks that ladder, consuming the best level first and moving to worse prices as it exhausts each one, which is where slippage comes from on a book. Venues use price-time priority, so posting earlier at the same price earns precedence, and they charge maker and taker fees asymmetrically to reward the participant who supplies the resting quote.

The important property is that a quote is a revocable offer. Cancelling costs nothing, and in mature electronic markets the great majority of order messages are cancellations rather than trades. Displayed depth is therefore a statement of current willingness, not a stock of committed capital, and it can be withdrawn in the interval between a trader deciding to trade and the order arriving.

How a constant-product pool sets a price

The simplest liquidity pool enforces the constant product formula: the quantity of one asset multiplied by the quantity of the other must not fall after a trade, once fees are added. Suppose a pool holds 100 units of an asset and 200,000 units of a stablecoin. The marginal price is 2,000, but buying a single unit costs more than 2,000, because removing inventory from one side requires adding proportionally more to the other to preserve the product. The larger the trade relative to the pool, the worse the average execution, and the relationship is convex rather than linear. That is price impact expressed as arithmetic instead of as a queue.

A pool has no opinion and cannot decline to trade. If the wider market price moves, the pool keeps quoting the old one until someone profits by correcting it, and that correction is paid for by the liquidity providers who own the inventory. The industry name for this cost, impermanent loss, is a poor description of the economics. It measures the gap between the value of the pool position and the value of simply holding the two assets, it is not impermanent unless the price ratio returns to where it started, and its underlying cause is adverse selection: the pool systematically trades with participants who know something it does not. Fee income is the compensation, and whether it exceeds the cost is a question about flow composition, not about the formula.

Concentrated liquidity narrows the gap

Later designs let a provider allocate capital to a chosen price range rather than across every conceivable price. Concentrated liquidity makes each unit of capital far more effective inside that range, and a position with a narrow range behaves much like a stack of limit orders: as price moves through it the provider is progressively converted into the falling asset, exactly as a resting bid ladder would be. It also makes headline total value locked a weaker guide to executable size, because two pools with identical capital can offer very different depth at the current price depending on how that capital is placed. Utilization ratios such as DEX volume to TVL and volume to TVL capture some of this, though they are averages over a day rather than a measurement at the moment of a trade.

What each mechanism is genuinely better at

  • Price formation. Books lead. A pool's price is a lagging function of the last arbitrage trade, which is why on-chain venues rarely set the reference price for a large asset.
  • Availability. A pool quotes continuously without anyone choosing to be present. A book can empty, and it tends to empty when conditions are worst.
  • Access. Anyone can create a pool for any pair on a decentralized exchange, with no listing decision. That removes a gatekeeper and also removes a filter, so a pool exists for tokens that no venue would list.
  • Custody. On-chain trading is non-custodial; the asset moves from wallet to wallet. The exposure shifts to smart contract risk and to the correctness of the router being used.
  • Pre-trade privacy. A pending on-chain trade is usually visible before it executes, which enables front-running and the sandwich attack, and makes MEV a running cost of trading in public. Books hide the intention until execution, at the price of trusting the operator.
  • Cost structure. A book charges basis points on notional. A pool charges a pool fee plus network fees that do not scale with trade size, so small trades on a congested chain can be dominated by gas.

Who ends up holding the inventory

Both designs require someone to hold the asset nobody currently wants, and they differ in who that is and how quickly they can refuse. A book-based market maker can skew quotes, reduce size or cancel entirely within a fraction of a second, and it prices the risk of holding inventory into the spread. A pool provider cannot skew, cannot decline a trade and cannot reprice; the only available actions are to withdraw the position or, with a concentrated range, to move it, and both require a transaction to land. In calm conditions this passivity is what makes the pool a reliable counterparty. In fast conditions it is what makes the pool the last participant still quoting a stale price, and the accumulated cost of that is paid by providers rather than by traders.

The two designs keep borrowing from each other

Request-for-quote systems settle on-chain but source prices from professional firms quoting off-chain, which is a book wearing a pool's clothing. An aggregator splits a single order across many pools and books at once, so the venue a trader thinks they used is often not where the fill came from. Meanwhile centralized venues have adopted the pool idea for long-tail listings. Reading DEX volume next to total 24-hour volume shows how much of an asset's trading happens under each mechanism, which is a more useful split than the venue names themselves.

The decentralized exchange pages carry per-chain and per-protocol activity, total value locked gives the capital side of the same picture with the caveats above, and fees shows what traders actually pay to use each mechanism.

01

What to take away

An order book discovers price from participant intentions, while a constant-product pool derives price from inventory ratios and depends on arbitrage to stay current.
Displayed book depth is revocable, since cancelling costs nothing and most order messages in electronic markets are cancellations rather than trades.
Impermanent loss is better understood as adverse selection against better-informed flow, and it is not impermanent unless the price ratio returns.
Concentrated liquidity weakens total value locked as a proxy for executable depth, because identical capital can be placed very differently.
Public pending transactions expose on-chain traders to front-running and sandwich attacks that order-book venues avoid by trusting an operator instead.

Assets

All assetsSectorsRankingsHeat mapScreenerCompareSaved

Fundamentals

Fees & revenueValue lockedExchange volumeNetwork activityStablecoinsStaking & yield

Valuation & risk

Valuation ratiosSupply & issuanceMetric definitionsRisk frameworkSecurity incidents

Institutional

Exchange-traded productsCorporate treasuriesEventsResearch notesNews

Learn

Learn libraryGlossaryCalculatorsAsk the dataAI agentsPublic API

About

About usContactMethodologyData sourcesEditorial policyData freshness

Legal

DisclaimersTerms of usePrivacy policy