Market Making in Crypto: Providing Liquidity for Profit
Market making is the practice of simultaneously posting buy (bid) and sell (ask) limit orders on an exchange's order book, profiting from the difference between the two prices known as the spread. Market makers provide liquidity to the market, enabling other traders to execute their orders instantly. In return, they earn the spread on every completed round trip (a buy followed by a sell, or vice versa).
Market making is one of the oldest and most established trading strategies in financial markets, practiced by firms like Citadel Securities, Virtu Financial, and Jump Trading. In crypto, market making has become increasingly accessible to individual traders and small firms, thanks to open exchange APIs and the proliferation of trading pairs. However, it remains a highly technical and competitive strategy that requires sophisticated tools, fast execution, and rigorous risk management.
How Market Making Works
A market maker posts a bid order at, say, $59,990 and an ask order at $60,010 for BTC/USDT. The $20 difference is the spread. If a seller hits the $59,990 bid and then a buyer lifts the $60,010 ask, the market maker has bought at $59,990 and sold at $60,010, earning $20 on that round trip (minus fees).
The market maker continuously replenishes orders on both sides of the book as they get filled. On a busy trading pair, this can mean hundreds or thousands of round trips per day. Each individual profit is small, but the cumulative effect of many small, consistent profits can generate significant daily returns.
The key to market making profitability is that you capture the spread repeatedly while managing the risk of inventory accumulation when price moves directionally against you.
Spread Management
The spread you quote determines both your profit per round trip and your probability of getting filled. A wider spread means more profit per trade but fewer fills, because your prices are further from the best bid and offer. A tighter spread means more fills but less profit per trade. Finding the optimal spread is the central challenge of market making.
Factors that influence optimal spread width include:
- Volatility: In high-volatility conditions, widen your spread to compensate for the increased risk of adverse price moves between fills. In low-volatility conditions, you can tighten spreads safely.
- Trading fees: Your spread must be wider than the round-trip fee cost, otherwise you lose money on every trade. If maker fees are 0.01% per side, your minimum spread is 0.02% just to break even.
- Competition: On major pairs like BTC/USDT, competition from institutional market makers keeps spreads extremely tight. On smaller altcoin pairs, spreads are wider and potentially more profitable for retail market makers.
- Inventory risk: As your inventory becomes imbalanced (too much or too little of the base asset), shift your quotes to encourage trades that rebalance your inventory.
Inventory Risk: The Market Maker's Primary Enemy
Inventory risk is the biggest challenge in market making. When the market trends in one direction, one side of your orders gets filled repeatedly while the other side does not. In a rising market, your sell orders are lifted and you end up short (or with depleted inventory). In a falling market, your buy orders are hit and you accumulate inventory that is losing value.
Inventory management techniques include:
- Quote skewing: Shift your bid and ask prices to discourage further accumulation on the over-weighted side. If you hold too much BTC, lower your bid price and your ask price to encourage sells.
- Maximum inventory limits: Set hard limits on how much inventory you are willing to hold in either direction. When the limit is reached, pull quotes on the accumulating side until inventory is reduced.
- Hedging: Use a correlated instrument or another exchange to hedge directional exposure. For example, if your spot BTC inventory is growing, short BTC perpetual futures to hedge.
- Mean reversion assumption: Market making inherently bets on mean reversion. If prices trend strongly and do not revert, market makers lose money. Avoid market making during strong trending conditions or major news events.
Start Trading Today
Sign up on top exchanges with exclusive referral bonuses
Setting Up a Market Making Bot
Market making is almost always automated because it requires continuous order management, rapid requoting, and instant reaction to market changes. Here are the key components of a market making system:
- Exchange API connection: A fast, reliable connection to the exchange's REST and WebSocket APIs for order placement and market data.
- Pricing engine: An algorithm that determines the optimal bid and ask prices based on the current mid-price, spread parameters, volatility, and inventory.
- Order manager: Software that places, cancels, and amends orders on the exchange, handling retries, rate limits, and partial fills.
- Inventory tracker: A real-time ledger of your current position size and direction, feeding into the pricing engine for quote skewing.
- Risk controls: Circuit breakers that pause or stop the bot when predefined risk limits are breached (maximum inventory, maximum drawdown, abnormal volatility).
Open-source market making frameworks like Hummingbot make it possible for individual traders to run basic market making strategies without building everything from scratch. However, competing with professional market makers on major pairs requires significant investment in infrastructure and speed.
Choosing the Right Market to Make
Not all markets are suitable for retail market makers. The best opportunities exist on mid-tier trading pairs where spreads are wide enough to be profitable but volume is sufficient for regular order fills. Major pairs like BTC/USDT on top exchanges are dominated by professional firms with sub-millisecond execution. Smaller altcoin pairs on mid-tier exchanges offer wider spreads and less competition.
Before committing capital, analyze the order book depth, average spread, daily volume, and fee structure of your target pair. Use our Profit/Loss Calculator to model the profit from individual round trips at different spread widths after accounting for fees.
Risks and Considerations
- Adverse selection: Informed traders (those with superior information) tend to trade against market makers before large price moves, leaving the market maker on the wrong side.
- Flash crashes: Sudden, violent price drops can blow through your orders before you can react, filling your bids at prices far above where the market stabilizes.
- Exchange risk: Running a market making bot requires keeping significant capital on an exchange. Choose exchanges with strong security track records.
- Technical failures: Bot crashes, API outages, or network issues can leave orders stranded in the book, exposing you to unmanaged risk.