Introduction
For any team running a spot market making bot, one of the most important yet often overlooked parameters is the tick interval—the frequency at which the bot wakes up, reads market data, and updates its orders. In Atlas LP, this setting can be as low as 0.5 seconds (with a default of 3 seconds), giving users fine-grained control over the balance between responsiveness and compliance with exchange API rate limits. Understanding how to tune this parameter is critical for both effective liquidity provision and reliable bot operation.
What Is a Tick Interval?
A tick interval defines how often a market making bot completes its core cycle:
- Reads the latest ticker and order book data from the exchange.
- Computes the desired order ladder based on strategy parameters.
- Places new limit orders and cancels any excess or mispriced orders.
- Syncs open orders, fills, balances, and logs bot events.
Each cycle is called a "tick." The tick interval is the time between the start of one tick and the next. For example, a 3-second tick interval means the bot will process updates every 3 seconds.
Why Tick Intervals Matter
Tick intervals directly influence two key aspects of market making:
- Responsiveness: Shorter intervals allow the bot to react more quickly to market changes, updating quotes and managing inventory with minimal delay.
- API Rate Limits: Every tick involves multiple API calls. If the tick interval is too short, the bot risks exceeding the exchange's allowed request rate, which can lead to throttling or temporary bans.
Finding the right tick interval is about striking a balance between these competing priorities.
How Atlas LP Handles Tick Intervals
Atlas LP lets users configure the tick interval for each bot, starting from 0.5 seconds (default 3 seconds). At each tick, the bot:
- Reads ticker and order book data (using WebSocket streams or REST APIs, depending on exchange support).
- Skips the tick if the data is stale or the order book is crossed, preventing erroneous actions.
- Computes the desired order ladder and compares it to current open orders.
- Places missing limit orders and cancels only excess or mispriced orders, minimizing unnecessary API calls.
This design ensures the bot remains as responsive as the tick interval allows, without spamming the exchange with redundant requests.
Example Tick Interval Settings
| Tick Interval | Responsiveness | API Load | Use Case Example |
|---|
| 0.5s | Very High | High | Fast-moving, high-liquidity pairs |
| 3s (default) | Balanced | Moderate | Most spot pairs, default for Atlas LP |
| 10s+ | Lower | Low | Illiquid pairs, low activity markets |
The Impact of Tick Intervals on Market Making
Responsiveness to Market Changes
A shorter tick interval means the bot can:
- Update quotes quickly in response to price moves.
- Cancel or replace orders as soon as market conditions change.
- Maintain tighter spreads and more consistent order book presence.
However, if the market is relatively inactive, extremely short intervals may not provide much benefit and can increase operational risk.
Staying Within API Rate Limits
Every exchange enforces rate limits on API requests. Exceeding these can result in errors, temporary bans, or even account suspension. Atlas LP’s tick interval setting helps users avoid this by:
- Spacing out order management actions.
- Reducing the frequency of balance and fill checks.
- Allowing the bot to skip ticks if data is stale, further conserving API calls.
Before starting a bot, Atlas LP validates settings to ensure compliance with exchange rules, including minimum tick intervals that keep API usage within safe limits.
Avoiding Redundant Actions
Atlas LP’s tick logic is designed to minimize unnecessary order placements and cancellations. On each tick, the bot:
- Places only missing levels.
- Cancels only excess or mispriced orders.
- Skips ticks when market data is not fresh or the order book is crossed.
This approach makes each API call count, helping users stay within rate limits even at shorter tick intervals.
Practical Considerations for Setting Tick Intervals
When configuring a market making bot, consider the following:
- Exchange Rate Limits: Review the exchange’s API documentation for rate limits. Some exchanges allow more frequent requests than others.
- Market Volatility: Highly volatile markets may benefit from shorter tick intervals to keep quotes relevant.
- Order Book Depth: For thin order books, slower intervals may suffice, as price changes are less frequent.
- Bot Strategy: The Basic strategy in Atlas LP is designed to work with a range of tick intervals, but aggressive strategies may require more frequent updates.
Best Practices
- Start with the default interval (3 seconds in Atlas LP) and monitor bot performance.
- If you observe missed fills or stale quotes, consider decreasing the interval—but watch for API errors or warnings.
- For illiquid or slow markets, a longer interval may be more efficient and reduce unnecessary API usage.
- Always validate your bot settings before launch. Atlas LP will prevent starting a bot with invalid or risky parameters.
Summary Table: Tick Interval Effects
| Tick Interval | Pros | Cons |
|---|
| Short | Fast reaction to market changes | Higher API usage, risk of throttling |
| Default | Good balance for most situations | May miss very rapid price moves |
| Long | Lower API load, safer for slow pairs | Slower response to market changes |
Genuine Market Making and Compliance
Atlas LP is designed for genuine market making: placing resting limit orders that any participant can trade against. Wash trading, self-trading, or volume manipulation is strictly prohibited. Tick interval settings should be used to support fair and transparent liquidity provision, not to game exchange metrics or circumvent rules.
Conclusion
Tick interval is a key engineering parameter in automated spot market making. By tuning this setting, teams can optimize their bots for both responsiveness and compliance with exchange API rate limits. Atlas LP provides the flexibility and safeguards needed to strike this balance, supporting effective and responsible liquidity provision across multiple centralized 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.