Overview
Market makers provide liquidity by quoting both sides of a market. You profit from the bid-ask spread while taking on inventory risk. Blink’s time-windowed markets and automatic settlement make this straightforward.Basic Market Maker
The simplest approach: quote both sides around the midpoint with a fixed spread.Multi-Level Quoting
Quote at multiple price levels to capture more volume:Post-Only Orders
Usepost_only=True to ensure your orders always provide liquidity (never take). This prevents crossing the spread and guarantees you earn the spread on every fill.
Diff-Based Order Management
Instead of cancel-all + re-place (which causes orderbook flicker), compare desired orders against existing ones and only modify what changed:This is a simplified example. A production market maker would handle additional concerns like token ID normalization and parallel execution.
Real-Time with WebSocket
Use the Market WebSocket for live orderbook data instead of polling:Risk Management
Inventory Skew
Adjust quotes based on your position to reduce inventory risk:Time Decay
As a market approaches its close time, widen the spread to account for increased uncertainty:Position Limits
Cap your maximum exposure per market:What’s Next
GLFT Model
Advanced market making with the Guéant-Lehalle-Fernandez-Tapia model
WebSocket Streams
Real-time data for your market maker

