What Is an Orderbook
In crypto (and in traditional finance), an orderbook is a list of all the open buy and sell orders for a particular trading pair. Each time someone wants to buy or sell a token, they submit an order which is just a message that says what they want and at what price. Here’s what it looks like in action:- Buy Order (a.k.a. bid): “I want to buy 5 ETH at £2,800 each.”
- Sell Order (a.k.a. ask): “I want to sell 5 ETH at £3,000 each.”
- The Buy Side (bids): people who want to buy the token.
- The Sell Side (asks): people who want to sell the token.
- On the buy side, the highest price someone is willing to pay comes first.
- On the sell side, the lowest price someone is willing to accept comes first.
Limit Orders and Market Orders
There are two main types of orders you’ll use on orderbooks:- Limit Order: You choose the exact price you want to buy or sell at. Your order goes onto the orderbook and waits until someone matches it.
- “I want to buy 100 SUI at £0.45.”
- Great for saving money or setting price alerts.
- Market Order: You buy or sell right now at the best available price. No waiting.
- “Just give me 100 SUI at the current market rate.”
- Good when speed matters more than price.
Why Orderbooks?
AMMs made swapping easy. You don’t have to think: just click swap and it’s done. But sometimes, you want more control:- You want to decide what price you’re willing to pay.
- You want to avoid getting wrecked by slippage.
- You want to see what the market is doing before jumping in.
- Set a limit price. Don’t want to pay more than £1.02 for that token? Cool, place an order and wait.
- See the market depth. You get a visual feel of who’s buying, who’s selling, and how much.
- Avoid slippage. Especially useful if you’re trading large amounts or volatile tokens.
Orderbook DEXs vs AMMs
DeFi initially adopted AMMs because they solved a critical problem: providing constant liquidity without requiring active market makers. When there’s great liquidity and active market makers, orderbooks outshine AMMs Let’s compare orderbook DEXs with traditional AMMs across different aspects:
Use AMMs when you want simple swaps and fast experience and Orderbooks when you’re actively trading, need precision, or you have big orders.