How Crypto Exchanges Work: Order Books, Custody, and Fees
Centralized cryptocurrency exchanges consolidate the roles of broker, clearinghouse, and custodian into a single platform. Here is how they match trades, manage liquidity, and secure digital assets.
Key points
- Centralized exchanges use continuous limit order books to match buyers and sellers and facilitate price discovery.
- Trades executed on a centralized exchange occur on internal databases, not on the underlying blockchain.
- Market makers provide liquidity to ensure assets can be bought or sold quickly without severe price impact.
- Exchanges typically charge maker-taker fees, penalizing orders that remove liquidity from the order book.
- Digital assets held on exchanges generally lack government deposit insurance protections like FDIC or FSCS.
Cryptocurrency exchanges are digital marketplaces that match buyers and sellers, facilitate price discovery, and store assets on behalf of users. Unlike traditional financial markets where brokers, clearinghouses, and custodians operate as distinct entities, centralized crypto exchanges often consolidate these roles into a single platform. This architecture allows for continuous global trading but introduces unique operational and security dynamics.
The Order Book and Price Discovery
The core of any centralized exchange is the order book, an electronic list of buy and sell orders for a specific asset organized by price level. When a user wants to trade an asset like Bitcoin ($BTC), they submit an order to the exchange's matching engine.
The order book is divided into two sides: bids and asks. Bids represent buyers indicating the maximum price they are willing to pay. Asks represent sellers indicating the minimum price they are willing to accept. The difference between the highest bid and the lowest ask is known as the spread.
Exchanges use a continuous limit order book system. If a user submits a market order, they are instructing the exchange to execute the trade immediately at the best available current price. The matching engine will fulfill this order by moving up or down the order book until the requested volume is met. Conversely, a limit order specifies a precise price. If the market price does not reach the limit price, the order remains on the book unfilled. The matching engine typically operates on a first-in, first-out priority, meaning orders placed earlier at the same price level are executed before those placed later. Through this continuous matching of bids and asks, the exchange facilitates price discovery, establishing the current market value of an asset based on real-time supply and demand.
Market Makers and Liquidity
For an exchange to function efficiently, it requires liquidity, which is the degree to which an asset can be quickly bought or sold without causing a significant impact on its price. In highly liquid markets, users can execute large trades with minimal slippage—the difference between the expected price of a trade and the price at which it is actually executed.
Retail trading volume alone is rarely sufficient to maintain deep liquidity across hundreds of trading pairs. To solve this, exchanges rely on market makers. These are institutional trading firms or automated algorithms that continuously quote both buy and sell prices for an asset. By placing limit orders on both sides of the order book, market makers ensure there is always a counterparty available for retail and institutional traders.
Market makers profit from the spread. By buying at the slightly lower bid price and selling at the slightly higher ask price thousands of times a day, they generate revenue while absorbing short-term inventory risk. Exchanges actively incentivize market makers to operate on their platforms by offering them reduced trading fees or direct rebates, as deep liquidity attracts more traders to the venue.
Spot Trading vs. Derivatives
Exchanges generally divide their trading venues into two primary categories: spot and derivatives.
The spot market involves the immediate purchase and sale of digital assets for direct delivery. When a user buys $BTC on the spot market, they take ownership of the actual asset, which is credited to their exchange account balance. Spot markets are straightforward but require the trader to fully fund the purchase with capital they already possess.
Derivatives are financial contracts that derive their value from an underlying asset. In crypto, the most common derivatives are futures, options, and perpetual swaps. Unlike the spot market, trading derivatives does not involve exchanging the actual underlying asset. Instead, traders are speculating on the future price movements of the asset.
Perpetual swaps are a derivative structure unique to cryptocurrency markets. They function like traditional futures contracts but have no expiration date. To keep the price of the perpetual contract tethered to the underlying spot price, exchanges use a funding rate mechanism. If the perpetual contract is trading higher than the spot price, traders holding long positions pay a fee to traders holding short positions, incentivizing selling and driving the price back in line.
Derivatives allow for leverage, meaning traders can borrow capital from the exchange to increase their position size. Because leverage amplifies both gains and losses, exchanges employ automated liquidation engines. If a leveraged position loses value and approaches the trader's initial margin collateral, the liquidation engine will forcefully close the position to prevent the exchange from taking a loss.
Custody and Internal Ledgers
When users deposit funds into a centralized exchange, they are transferring control of their assets to the platform. The exchange acts as a custodian, holding the private keys required to authorize transactions on the blockchain.
To manage these assets securely, exchanges utilize a combination of hot and cold wallets. Hot wallets are connected to the internet and hold a small percentage of total platform assets to facilitate daily withdrawals. The vast majority of user funds are kept in cold storage—offline hardware devices that are isolated from internet connectivity to prevent remote theft.
It is crucial to understand that trading on a centralized exchange does not occur on the blockchain. When a user buys or sells an asset, the exchange simply updates an internal, off-chain database to reflect the change in account balances. This allows for high-speed, low-cost trading, as the platform does not need to wait for blockchain confirmations or pay network gas fees for every trade.
Blockchain settlement only occurs when a user deposits funds into the exchange or withdraws funds to an external address. For a deeper understanding of how these external transfers function on the network level, refer to How a Bitcoin Transaction Works: UTXOs, Mempools, and Finality. Users seeking to manage their own private keys rather than relying on an exchange's custody can explore self-custody options detailed in Crypto Wallets Explained: Custodial, Hot, Cold, and Hardware.
The Fee Structure
Exchanges generate the majority of their revenue through trading fees, typically structured around a maker-taker model. This model differentiates between orders that provide liquidity to the order book and orders that consume it.
A maker is a trader who places an order that does not execute immediately, such as a limit order placed below the current market price. Because this order rests on the order book and adds liquidity, the exchange charges the maker a lower fee. A taker is a trader who places an order that executes immediately against an existing order on the book, such as a market order. Because this removes liquidity, the exchange charges the taker a higher fee.
Consider a worked numeric example to illustrate this model. Assume an exchange charges a maker fee of 0.10% and a taker fee of 0.20%.
User A places a limit order to buy 1 $BTC at $50,000. This order rests on the book, making User A the maker. User B decides they want to sell 1 $BTC immediately and places a market order, which matches with User A's resting limit order. User B is the taker.
- User A (Maker) pays a 0.10% fee on the $50,000 trade, which equals $50.
- User B (Taker) pays a 0.20% fee on the $50,000 trade, which equals $100.
- The exchange collects a total of $150 in revenue from matching this single trade.
Specific fee tiers vary by exchange and are subject to change based on a user's 30-day trading volume, with high-volume traders receiving significant fee discounts. In addition to trading fees, exchanges often charge withdrawal fees when users move assets off the platform. These fees cover the blockchain network costs required to process the transaction, though some exchanges add a premium to generate additional revenue.
Regulatory Oversight and Taxation
The regulatory environment for cryptocurrency exchanges is highly fragmented and varies significantly by jurisdiction. To comply with Anti-Money Laundering (AML) and Counter-Terrorist Financing (CTF) laws, reputable exchanges enforce strict Know Your Customer (KYC) protocols. Users are required to verify their identity using government-issued documents before they can deposit fiat currency or execute large trades.
In the United States, oversight is divided among multiple agencies, including the Securities and Exchange Commission (SEC) and the Commodity Futures Trading Commission (CFTC), depending on whether the assets traded are classified as securities or commodities. According to SEC investor bulletins, many crypto asset platforms operate without registering as national securities exchanges, meaning users may not have the same protections as they would in traditional equity markets.
In the European Union, the Markets in Crypto-Assets (MiCA) regulation, overseen by the European Securities and Markets Authority (ESMA), provides a unified legal framework. MiCA mandates strict authorization requirements, consumer protection standards, and market abuse rules for crypto-asset service providers operating within the bloc. In the United Kingdom, the Financial Conduct Authority (FCA) requires crypto firms to register for AML supervision and enforces strict rules on how crypto assets can be marketed to retail consumers.
From a tax perspective, authorities like the US Internal Revenue Service (IRS) and the UK's HM Revenue & Customs (HMRC) generally treat cryptocurrency as property or capital assets. This means that selling crypto for fiat currency, or exchanging one cryptocurrency for another, is a taxable event subject to capital gains tax. For example, trading $BTC for a fiat-pegged asset—as explained in What Is a Stablecoin? Types, Risks, and How Pegs Hold—triggers a capital gains calculation based on the asset's price at the time of the trade. Tax reporting requirements and specific capital gains rates depend on the user's jurisdiction and change over time.
Common Misconceptions
- Exchanges set the price of assets. Exchanges do not dictate the price of Bitcoin or any other asset. They merely provide the software infrastructure for buyers and sellers to interact. The price displayed on an exchange is simply the price at which the most recent trade was executed on that specific platform.
- Trades on an exchange are recorded on the blockchain. When users trade on a centralized exchange, no blockchain transaction occurs. The exchange updates its own internal, off-chain database to reflect the change in ownership. Blockchain settlement only happens during deposits and withdrawals.
- Crypto exchanges function like traditional banks. While exchanges hold user funds, they are not banks. In most jurisdictions, digital assets held on a crypto exchange are not protected by government deposit insurance schemes, such as the Federal Deposit Insurance Corporation (FDIC) in the US or the Financial Services Compensation Scheme (FSCS) in the UK. If an exchange becomes insolvent, users may lose their assets.
How This Connects to the Market
Centralized exchanges are the primary chokepoints of the cryptocurrency ecosystem. They serve as the main fiat on-ramps and off-ramps, connecting the traditional banking system to the digital asset economy. Because they consolidate trading, clearing, and custody, the operational health of major exchanges directly impacts broader market stability.
When a major exchange experiences technical outages, liquidity across the entire market can fragment, leading to heightened volatility. Furthermore, because exchanges hold billions of dollars in user assets, they are systemic entities. The failure or insolvency of a large exchange can trigger severe contagion, draining liquidity from the market and causing rapid price depreciation across all digital assets.
Questions this story raises
- Do crypto exchanges set the price of Bitcoin?
- No, prices are determined entirely by market participants. The price shown on an exchange is simply the price of the last executed trade on that specific platform's order book.
- Are crypto exchanges regulated?
- Yes, but oversight varies heavily by jurisdiction. Frameworks like MiCA in the EU standardize rules, while the US relies on a mix of SEC and CFTC enforcement actions and existing securities laws.
- Are funds on a crypto exchange insured?
- Generally, no. Digital assets held on crypto exchanges are not protected by government deposit insurance schemes such as the FDIC in the US or the FSCS in the UK.
- What is the difference between maker and taker fees?
- Maker fees are charged to orders that add liquidity to the order book (like limit orders), while taker fees are charged to orders that remove liquidity (like market orders). Maker fees are usually lower.
References
- [1] Markets in Crypto-Assets Regulation (MiCA) — European Securities and Markets Authority (ESMA)
- [2] Digital Assets — Internal Revenue Service (IRS)
- [3] Cryptoassets: consumer research and guidance — Financial Conduct Authority (FCA)
Evergreen explainer written by Basis Desk's system and checked by an independent model pass for factual errors and advice language. Figures, fees and rules change — the references above are where to verify current specifics. Market figures marked "at the time of writing" come from live exchange data. Report an error: hello@basisdesk.news.
Not financial advice. Basis Desk publishes information, not recommendations. Crypto assets are volatile and you can lose what you invest.