Introduction
Crypto spot market making bots must operate across a diverse landscape of centralized exchanges, each with its own unique API quirks, symbol rules, and operational edge cases. Ensuring that limit order placement is both reliable and compliant requires careful engineering. In this post, we’ll explore how Atlas LP tackles these challenges to deliver robust, exchange-specific order management for spot market making.
The Challenge: Exchange Diversity and Edge Cases
No two exchanges are exactly alike. Even among major platforms, differences in API design, symbol filters, order book structures, and error handling can introduce subtle (or not-so-subtle) edge cases. Some common challenges include:
- Minimum order quantity and notional value requirements
- Tick size and price increment restrictions
- Order book data freshness and latency
- Unique error responses or rejection codes
- Differences in symbol naming conventions
- API rate limits and connection stability
For a multi-exchange market making bot like Atlas LP, these differences must be abstracted and handled gracefully to ensure that every limit order is valid, well-placed, and visible to the market.
Atlas LP’s Approach to Reliable Limit Order Placement
Atlas LP is designed as multi-tenant software that runs a spot liquidity (market making) bot on the user’s own centralized exchange account via API key. Here’s how it addresses exchange-specific edge cases in limit order placement:
1. Detailed API Verification Before Trading
Before a bot can start, Atlas LP performs comprehensive API verification. This includes:
- Checking ticker and order book data for the selected symbol
- Validating symbol rules (such as minimum quantity, notional, and tick size)
- Verifying account balances, open orders, and recent trades
- Optionally placing a test limit order far from the market (and immediately canceling it) to confirm permissions and order validity
If the exchange rejects the API credentials or any required permission is missing, the bot will not proceed. This proactive validation prevents misconfigured bots from placing invalid orders or encountering unexpected errors mid-operation.
2. Strict Settings Validation
Atlas LP validates all bot settings before allowing a bot to start. This includes:
- Ensuring the spread band (min/max in basis points) is at least 40 bps wide
- Confirming the number of bid and ask levels, and that level spacing meets exchange requirements (from 0.1 bps)
- Checking that order size ranges are within the exchange’s minimum quantity and notional filters
- Verifying tick intervals (minimum 0.5 seconds, default 3 seconds)
This upfront validation reduces the risk of order rejections due to non-compliant parameters and ensures that the bot only attempts to place orders the exchange will accept.
3. Real-Time Data Handling and Order Placement Logic
Each tick, Atlas LP reads the latest ticker and order book data using WebSocket streams or REST endpoints. The bot:
- Skips the tick if data is stale or the order book is crossed (bid ≥ ask)
- Computes the desired order ladder based on the validated strategy settings
- Places only the missing limit orders and cancels excess or mispriced orders
If the market is empty (no quotes), Atlas LP seeds the book by placing one buy and one sell order around the base price.
By reacting only to fresh, valid data and maintaining a compliant order ladder, Atlas LP minimizes the risk of placing orders that could be rejected or lead to undesirable market behavior.
4. Handling Exchange-Specific Order Rejections
Despite all validations, exchanges may still reject orders due to sudden changes in symbol rules, maintenance events, or internal errors. Atlas LP responds to these scenarios by:
- Monitoring order placement and cancellation responses for errors
- Stopping the bot and displaying an error status if credentials are rejected
- Logging rejection events in the console for user review
This approach ensures that users are immediately aware of issues and can take corrective action, rather than unknowingly operating a non-functional bot.
5. Secure API Key Handling and Permissions
Security is a critical part of reliable order placement. Atlas LP:
- Encrypts API keys and secrets with AES-256-GCM before storage
- Decrypts secrets only on the worker that communicates with the exchange
- Never asks for withdrawal permission; keys require only read and spot trading access
This minimizes the attack surface and ensures that only the necessary permissions are in place for limit order placement.
6. User Controls and Real-Time Monitoring
Atlas LP provides users with the ability to:
- Cancel one or all open orders for a symbol from the bot page
- Stop a bot to halt new order placements
- View open orders, recent fills (including fees), balances, and bot events in real time
- Receive Telegram alerts if a running bot has had no fills for a user-defined period
This transparency and control help users quickly identify and respond to edge cases, such as persistent order rejections or unexpected account changes.
Example: Navigating a Minimum Notional Edge Case
Suppose an exchange increases its minimum notional requirement for a particular trading pair. If a bot attempts to place an order below this new threshold, the order will be rejected. Atlas LP’s validation logic checks the current symbol rules before every order placement, ensuring that each order meets the latest requirements. If the rules change during operation, the bot will adapt on the next tick, avoiding repeated rejections.
The Importance of Genuine Market Making
Atlas LP is built for genuine market making—resting limit orders that any market participant can trade against. It never engages in wash trading, self-trading, or volume manipulation. All order placement logic is designed to support fair, transparent, and compliant liquidity provision, in line with best practices for crypto markets. For more on genuine market making, see [/market-making].
Supported Exchanges and Strategy Types
Atlas LP currently supports spot market making on the following exchanges:
| Exchange | Spot Support | Futures/Margin |
|---|
| Binance | Yes | No |
| DigiFinex | Yes | No |
| LBank | Yes | No |
| BingX | Yes | No |
| XT.com | Yes | No |
| Biconomy | Yes | No |
| Toobit | Yes | No |
| CoinW | Yes | No |
| P2B | Yes | No |
| Azbit | Yes | No |
| Dex-Trade | Yes | No |
| Ourbit | Yes | No |
Only the Basic strategy (spread band around a fixed base price) is currently available for live trading. Other strategy types are shown as 'soon' in the console and cannot be started yet.
Conclusion
Engineering reliable limit order placement in the face of exchange-specific edge cases is a complex but essential task for any spot market making bot. Atlas LP addresses these challenges through rigorous validation, real-time data handling, secure API management, and transparent user controls. By focusing on genuine market making and robust engineering, Atlas LP helps token projects, exchanges, and trading teams provide consistent, compliant liquidity across a diverse set of crypto 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.