Pricing & Fees
Liquidity Pools vs. Order Books: How Trading Mechanisms Differ
Compare an order book that matches buyer and seller offers with a smart-contract liquidity pool, without assuming either model is risk-free.
Order books
An order book displays buy and sell offers at specified prices and quantities. A trade occurs when opposing orders match under the venue’s rules. How the book is maintained and orders are matched can differ between centralized venues and decentralized protocols.
Liquidity pools
In some AMM protocols, a trader interacts with a pool holding balances of two tokens in a smart contract. The protocol’s mechanism sets swap terms from the pool’s balances and rules; a trade can change the balance ratio and the available price. A traditional order book is not necessarily involved.
Each model has its own details and risks: order-book depth can change, while pools depend on contracts, liquidity, and protocol fees. A displayed price does not guarantee that the requested size will execute at that price.
A simple example
With an order book, your offer may wait to match another offer. With an automated pool, your trade changes the token balance ratio, affecting the price under the pool’s rules. The route differs even when the token has the same name.
Key takeaway
Before a swap, identify whether execution uses an order book or a smart-contract pool, and how liquidity, size, and fees affect the final price.
Related reading
Official sources
This article is for informational purposes only and is not a price quote.