Introduction
Automated liquidity strategies—such as those powered by market making bots—are deeply influenced by the structure and rules of the exchange order books they operate on. For token projects, exchanges, and trading teams, understanding these mechanics is essential for designing robust liquidity provision and market making workflows. This article explores the nuances of order book structures, symbol rules, and their direct impact on automated spot market making.
What Is an Exchange Order Book?
An order book is a real-time, continuously updated list of buy (bid) and sell (ask) limit orders for a particular trading pair on an exchange. It provides the foundation for price discovery and liquidity in both centralized and decentralized markets. Key components include:
- Price Levels: Each row represents a price at which participants are willing to buy or sell.
- Order Size: The quantity available at each price level.
- Depth: The number of price levels visible and tradable.
Order books can differ significantly between exchanges in terms of data granularity, update frequency, and symbol-specific rules.
Why Order Book Structure Matters for Automated Liquidity
Automated market making bots, such as those managed through Atlas LP, rely on the order book to place and manage resting limit orders. The structure of the order book directly affects:
- Where and how orders can be placed
- The minimum and maximum spread achievable
- The number of levels and their spacing
- The minimum order size and notional requirements
- How quickly bots can react to changes in market conditions
A well-structured and liquid order book allows market makers to operate efficiently, while fragmented or restrictive order books can pose challenges.
Key Exchange Order Book Features That Affect Bots
1. Symbol Rules: Minimum Size and Notional Value
Each trading pair (symbol) on an exchange comes with its own rules, such as:
- Minimum Order Quantity: The smallest amount that can be bought or sold in a single order.
- Minimum Notional Value: The smallest total value (price × quantity) allowed for an order.
- Tick Size: The smallest allowable price increment.
Automated bots must validate these parameters before placing orders. For example, Atlas LP checks symbol rules and ensures every order meets or exceeds exchange requirements.
2. Order Book Depth and Visibility
Some exchanges display only the top 20–50 levels, while others provide full depth. More depth allows bots to:
- Place orders further from the mid-price
- Seed liquidity at multiple levels
- Better manage risk and inventory
Limited depth can constrain the number of active levels and the overall effectiveness of a market making strategy.
3. Update Frequency and Data Freshness
Order books are updated via WebSocket streams or REST APIs. The speed and reliability of these updates affect how quickly bots can:
- Detect market changes
- Adjust or cancel orders
- Avoid acting on stale or crossed books
Atlas LP, for example, skips a tick if the order book data is stale or crossed, helping prevent erroneous order placement.
4. Order Matching Rules
Exchanges may use different matching algorithms (e.g., price-time priority). While bots cannot change these rules, understanding them is important for predicting fill likelihood and managing order placement strategies.
5. Handling of Stale or Crossed Order Books
A crossed order book occurs when the highest bid is equal to or greater than the lowest ask, usually due to delayed updates. Bots must detect and avoid placing orders during such anomalies to prevent errors or rejections.
Designing Automated Strategies for Different Order Book Structures
Adapting to Minimum Order and Notional Limits
Bots must ensure that every order meets the exchange’s minimum size and notional requirements. This often means dynamically adjusting order sizes, especially for low-priced or illiquid pairs. Atlas LP validates these settings before a bot can start, preventing misconfigured bots from running.
Managing Spread Bands and Level Spacing
The spread band—the range between the tightest and widest allowable spreads—must be set according to both market conditions and exchange rules. For example, Atlas LP’s Basic strategy allows a spread min/max in basis points, with a minimum width of 40 bps. Level spacing can be as fine as 0.1 bps, but must also respect the exchange’s tick size.
Placing and Managing Multiple Levels
Bots often place several levels on both the bid and ask sides to provide depth and resilience. The number of levels and their spacing are constrained by order book depth, tick size, and minimum order rules. Atlas LP allows users to configure the number of bid and ask levels, and places missing levels while canceling excess or mispriced orders each tick.
Responding to Market Data and Order Book Events
High-frequency updates allow bots to react quickly to market shifts. However, if data is stale or the book is crossed, bots like Atlas LP will skip the tick to avoid placing risky orders. This helps maintain the integrity of the liquidity provision process.
Seeding New or Thin Order Books
When a market is new or lacks liquidity, bots may need to "seed" the book by placing the first buy and sell orders around a base price. This is a crucial step for token launches or newly listed pairs, as it provides initial price discovery and encourages organic trading activity. Atlas LP automatically seeds one buy and one sell order if the market has no quotes.
Security and Compliance Considerations
Automated liquidity provision must always comply with exchange rules and ethical standards. Genuine market making means placing resting limit orders that any participant can trade against. Practices such as wash trading, self-trading, or volume manipulation are strictly prohibited and can result in severe penalties.
Atlas LP enforces security best practices by:
- Never requesting withdrawal permissions
- Encrypting API keys and secrets with AES-256-GCM
- Validating API permissions and symbol rules before starting bots
Practical Example: Configuring a Bot for a New Exchange
Suppose your project is listing a token on a new exchange with the following symbol rules:
| Parameter | Value |
|---|
| Minimum order size | 10 tokens |
| Minimum notional | $50 |
| Tick size | $0.001 |
| Visible order book | Top 20 bids/asks |
To configure a bot:
- Set order sizes to always be at least 10 tokens and $50 notional.
- Choose level spacing that aligns with the $0.001 tick size.
- Limit the number of levels to fit within the top 20 bids and asks.
- Monitor order book updates to avoid acting on stale or crossed data.
Atlas LP’s validation and real-time monitoring features help ensure these requirements are met before and during operation.
Conclusion
Order book structures and symbol rules are foundational to the success of automated spot market making strategies. By understanding and adapting to these exchange-specific parameters, projects and trading teams can design bots that provide genuine liquidity, support healthy price discovery, and operate securely.
For more on building effective liquidity strategies, see our market making guide or explore supported exchanges.
Atlas LP does not guarantee returns, prices, volume or listings.
Crypto trading involves risk. Atlas LP is software for placing and managing limit orders; it does not guarantee returns, prices, volume or listings. Follow the rules of each exchange and applicable law.