
Market Making Strategy Basics: Spread Capture in Crypto
Market making is one of the oldest and most fundamental trading strategies, involving simultaneously placing buy and sell orders to profit from the bid-ask spread. While traditionally the domain of institutional firms with direct exchange access, algorithmic market making concepts can be applied by retail traders through strategic backtesting. This guide introduces the core principles of market making strategies and shows how to model and test them on StratBase.ai’s backtesting platform.
At its core, a market maker provides liquidity to the market by always being willing to buy at a slightly lower price and sell at a slightly higher price. The difference between these two prices — the spread — represents the market maker’s theoretical profit on each round trip. In practice, market making involves managing inventory risk, adverse selection, and the constant threat of directional moves that can overwhelm spread profits.
Understanding Market Making Mechanics
A market making strategy places limit orders on both sides of the current market price. The distance between these orders and the mid-price determines the effective spread captured. Wider spreads provide more profit per trade but execute less frequently, while tighter spreads execute more often but capture less per trade. Finding the optimal spread width for a given market is the central challenge.
The primary risk for market makers is adverse selection — the tendency for your orders to be filled just before the market moves against you. When informed traders (those with superior information) hit your resting orders, you are systematically on the wrong side. Effective market making strategies must account for this asymmetry through dynamic spread adjustment, inventory management, and selective quoting during high-risk periods.
Step 1: Model Spread Capture on StratBase.ai
Pure market making requires direct limit order placement and real-time order book data, which goes beyond traditional backtesting. However, you can model the essential dynamics on StratBase.ai by creating strategies that approximate market making behavior using the available tools.
Start by configuring a grid trading approach: place symmetrical entry levels above and below the current price. StratBase.ai’s grid entry system lets you define multiple entry levels with configurable offsets from the market price. This models the market maker’s dual-sided quoting, where positions are accumulated at various levels and the average entry price determines profitability.
Set a tight take-profit target equal to the expected spread capture — typically 0.1% to 0.3% for major crypto pairs. The strategy profits when price oscillates within a range, filling both buy and sell orders repeatedly. The grid visualization on StratBase.ai shows exactly how fills occur at each level during the backtest.
Step 2: Add Volatility-Based Spread Adjustment
Static spread widths fail in dynamic markets. During high-volatility periods, the risk of adverse selection increases dramatically, requiring wider spreads to compensate. During calm periods, spreads can be tightened to capture more fills without excessive risk.
In your StratBase.ai strategy, use ATR or Bollinger Band width as a volatility proxy. When volatility is above its 20-period average, increase the grid offset (widening the effective spread). When volatility is below average, tighten the grid. This dynamic adjustment mimics how professional market makers adapt their quoting to current conditions.
| Volatility Level | Grid Offset | Expected Behavior |
|---|---|---|
| Low (ATR < 0.5× average) | 0.1% – 0.15% | Frequent fills, tight profits |
| Normal (0.5–1.5× average) | 0.15% – 0.25% | Balanced fill rate and profit |
| High (ATR > 1.5× average) | 0.25% – 0.5% | Fewer fills, wider profit margin |
Step 3: Implement Inventory Risk Management
The biggest danger for market makers is accumulating a large directional position during a trending market. If you keep buying as price falls (because your buy orders keep filling), your growing inventory exposure can lead to catastrophic losses. Managing this inventory risk is what separates profitable market makers from those who blow up.
On StratBase.ai, model inventory management by adding trend-following filters to your grid strategy. When price is trending strongly in one direction (detected by moving average slope or ADX above 25), skew your grid to favor orders in the trend direction and reduce exposure on the counter-trend side. This means your strategy transitions from pure market making to trend-aware liquidity provision.
Additionally, set maximum position limits. If your accumulated position exceeds a defined threshold, the strategy should stop adding to that side and focus on closing existing inventory at favorable prices. This hard limit prevents the runaway inventory accumulation that destroys market making accounts.
Step 4: Filter by Funding Rate and Liquidation Data
Crypto markets offer unique data that traditional market makers never had access to. StratBase.ai’s futures indicators — particularly funding rate and liquidation metrics — provide early warning signals for periods when market making becomes extremely risky.
When funding rates reach extreme levels (positive or negative), the market is heavily skewed in one direction and a violent reversal or liquidation cascade becomes likely. During these periods, market making strategies should widen spreads dramatically or pause altogether. Add funding rate conditions to your StratBase.ai strategy that deactivate the grid when funding exceeds historical norms.
Similarly, use the liquidation volume indicator to detect cascade events in real time. When liquidation volume spikes above normal levels, the bid-ask spread in the actual market widens considerably, and your modeled spread assumptions may no longer hold. Pausing during these events protects against the adverse selection that peaks during forced liquidations.
Step 5: Evaluate with Proper Market Making Metrics
Traditional strategy metrics like win rate and profit factor remain relevant, but market making strategies also need specialized evaluation. Focus on the ratio of spread captured versus adverse selection cost, the average holding time per round trip, and the maximum inventory exposure reached during the backtest.
StratBase.ai’s detailed trade logs provide the data needed for this analysis. Examine your trade sequence to verify that profitable round trips outnumber and outweigh losing directional exposures. The AI analysis feature can also identify specific market conditions where your market making model breaks down, helping you refine the volatility and trend filters.
Market making is fundamentally a strategy of patience and discipline. Profits accumulate slowly through many small spread captures, while losses can strike quickly during trending or volatile regimes. Use StratBase.ai’s extensive backtesting capabilities to stress-test your market making model across all market conditions before risking real capital.
Further Reading
About the Author
Quantitative researcher with 8+ years in algorithmic trading and strategy backtesting. Specializes in technical indicator analysis and risk-adjusted performance metrics.
FAQ
What is market making?▾
Market making = placing simultaneous buy (bid) and sell (ask) limit orders around the current price. You profit from the bid-ask spread. Example: BTC at $60,000. You place buy at $59,990 and sell at $60,010. If both execute, you profit $20 per BTC. The catch: price might move against you before both sides fill, leaving you with an unhedged position (inventory risk).
Can retail traders do market making?▾
Technically yes, but it's very challenging. Retail faces: higher latency (slower order placement/cancellation), less capital (can't absorb large inventory swings), worse exchange fees (taker fees eat profits). You need: API access, fast execution, sophisticated inventory management, and ideally market maker fee tiers (rebates for providing liquidity). Most profitable for well-capitalized teams with infrastructure.
Further reading
Related articles
Comments (0)
Loading comments...

