QosheleqRU
Tip

How a crypto exchange works: order book, orders, fees and slippage

Clicked "buy" and paid more than the price on screen? How the order book, market and limit orders, maker and taker fees, the spread and slippage work.

4 min read

A crypto exchange brings together people who sell coins and people who buy them. Usually it does not sell you bitcoin out of its own pocket: it matches clients' orders against each other and charges a fee for doing so.

Centralized and decentralized

A centralized exchange (CEX), such as Binance or Coinbase, is a company. You pass an identity check, deposit money, and your coins are recorded in the exchange's accounts. It is convenient: there is a support team, conversion to ordinary money and fast trades. But the coins are effectively controlled by the exchange, and in a hack or a bankruptcy everything depends on it. That is how FTX went bankrupt in November 2022. How an exchange can shut withdrawals after an attack can be seen in the story of the Binance hack.

A decentralized exchange (DEX), such as Uniswap, does without a company: swaps go through a smart contract straight from your wallet. The coins stay with you, but no one will fix a mistake, and there are more fake tokens around.

From here on we mostly talk about centralized exchanges.

The order book

The main screen of an exchange is the order book. It has two lists:

  • bid: buy orders, the prices at which people are ready to buy;
  • ask: sell orders, the prices at which people are ready to sell.

The difference between the best selling price and the best buying price is called the spread. For bitcoin on a large exchange it is tiny; for a little-known coin it can reach whole percentage points.

Market and limit orders

A market order: "buy now at the best price". It fills right away, but you don't choose the price: the order takes offers from the book one after another, from the best to the worst.

A limit order: "buy at no more than X". You set the price, and the order sits in the book and waits. It may fill partly or not at all if the price never gets there.

A stop order triggers when the price touches a set level. People use it, for example, to limit a loss.

Maker and taker

  • The maker adds liquidity: their limit order does not fill right away and waits in the book.
  • The taker removes liquidity: with a market order, or with a limit order that filled immediately against other people's orders.

On many exchanges the taker pays more than the maker. On Binance, for a regular spot account both fees are 0.1%: on a purchase of 500,000 ₸ (Kazakhstan's tenge) that is 500 ₸, and buying and then selling will cost 1,000 ₸ in total.

Slippage

Slippage is the difference between the price on the screen and the price at which your order actually filled.

Example. You buy a coin for 500,000 ₸ with a market order, but at the best price in the book there are offers for only 200,000 ₸. The order fills the rest at higher prices, and the average price ends up above the one you saw. In the thin order book of a little-known coin, the difference can be several percent.

How to reduce it:

  1. For large amounts, use limit orders.
  2. Look at the depth of the order book: how much money is waiting near the current prices.
  3. Don't buy at market during a sharp move or right after big news.
  4. On a DEX, set the allowed slippage by hand rather than to "maximum".
CostWhat it isTypical size
Feea percentage of the tradefrom 0.1% on spot
Spreadthe gap between bid and askfrom a fraction of a percent
Slippagethe price shift during executiondepends on the amount and the order book depth
Withdrawalthe fee for the network transferdifferent for each coin and network

The real price of a trade is made up of the fee, the spread and slippage. On a liquid pair that is a fraction of a percent; on a little-known coin it can add up to several percent.

Before signing up, check the platform itself: how to check a crypto exchange. Which exchanges are legal in Kazakhstan is covered in the article what is legal in 2026.

This article is for general information and is not investment advice. Cryptocurrency can fall sharply in price, and money put into it is not insured.

Comments no comments yet

Readers signed in with Telegram can comment. No password needed: you confirm the sign-in in the bot.

Read next