Atlas LP
  1. Home
  2. Blog
  3. Inside Atlas LP: How Bot Settings Validation Prevents Costly Configuration Errors

Atlas LP

Inside Atlas LP: How Bot Settings Validation Prevents Costly Configuration Errors

Explore how Atlas LP’s rigorous bot settings validation safeguards users from common mistakes in spot market making, ensuring robust and compliant liquidity strategies.

Published

Why Validating Bot Settings Matters in Crypto Market Making

Automated market making bots are powerful tools for providing liquidity on crypto exchanges. However, their effectiveness—and the safety of user funds—depends heavily on correct configuration. Even small mistakes in bot settings can lead to missed trades, rejected orders, or unintended exposure. Atlas LP addresses this challenge by rigorously validating all bot settings before a strategy can be launched, helping users avoid costly errors and operate within exchange rules.

The Risks of Incorrect Bot Configuration

Incorrect or incomplete bot settings can result in:

  • Orders being rejected by the exchange due to non-compliance with symbol rules (e.g., minimum order size or notional value).
  • Bots failing to place or cancel orders as intended, leading to gaps in the order book or excessive exposure.
  • Unintended trading behavior, such as placing orders too close or too far from the market, or using unsupported order types.
  • Security risks if API permissions are misconfigured.

Given these risks, robust validation is not just a convenience—it’s a necessity for anyone running automated liquidity strategies.

Atlas LP’s Approach to Settings Validation

Atlas LP is multi-tenant software that runs a spot liquidity (market making) bot on the user’s own centralized exchange account via API keys. Before a bot can be started, Atlas LP performs a comprehensive validation of all user-provided settings. This process is designed to ensure that every parameter is compatible with both the chosen exchange and the selected trading symbol.

Key Elements of Bot Settings Validation

  1. Exchange and Symbol Compliance

    • Atlas LP checks that the selected exchange and symbol are supported and that the user’s API key has the required permissions (read and spot trading, never withdrawal).
    • Symbol-specific rules such as minimum quantity, minimum notional value, and price tick size are verified against the exchange’s live API.
  2. Spread and Ladder Parameters

    • The Basic strategy requires a spread band around a fixed base price, with minimum and maximum spreads defined in basis points (bps). The minimum width is enforced (at least 40 bps) to prevent orders from being too close together.
    • The number of bid and ask levels, their spacing (from as little as 0.1 bps), and nested day/hour bands are all checked for logical consistency and compliance with exchange limits.
  3. Order Size and Placement

    • Users set a minimum and maximum order size. Atlas LP ensures these values are within the allowed range for the symbol and that randomization between min and max won’t produce orders below the exchange’s minimum requirements.
    • The system also checks that order sizes will meet both minimum quantity and minimum notional value constraints.
  4. Tick Interval and Responsiveness

    • The tick interval (how frequently the bot updates its orders) can be set from 0.5 seconds (default 3 seconds). Atlas LP validates this interval to avoid excessive API calls that could breach exchange rate limits, while still maintaining market responsiveness.
  5. API Key and Credential Checks

    • Before any trading begins, Atlas LP verifies the API credentials by checking ticker, order book, symbol rules, balances, open orders, and recent trades. Optionally, it can place a test limit order far from the market and cancel it immediately to confirm trading permissions and connectivity.
    • If credentials are invalid or permissions are insufficient, the bot will not start and an error status is displayed.
  6. Prevention of Unsupported Strategies

    • Only the Basic strategy type is currently available. Other strategy types shown as 'soon' in the console cannot be started, preventing users from accidentally launching unsupported configurations.

How Validation Protects Users and Markets

By enforcing strict validation before launch, Atlas LP helps users:

  • Avoid order rejections and failed placements due to non-compliant parameters.
  • Ensure that all orders meet exchange requirements for size, price, and notional value.
  • Prevent accidental exposure from misconfigured ladders or spreads.
  • Maintain market fairness by only allowing genuine market making—resting limit orders that any participant can trade against.
  • Operate within the security boundaries of their exchange account by never requesting withdrawal permissions and encrypting API keys with AES-256-GCM.

What Happens if Validation Fails?

If any setting fails validation, the user is immediately notified in the console with a clear error message. The bot cannot be started until all issues are resolved. This feedback loop helps users quickly identify and correct mistakes, reducing the risk of operational errors and ensuring a smoother experience.

Real-World Examples of Prevented Errors

Consider the following scenarios, all of which Atlas LP’s validation would catch before the bot is allowed to run:

ScenarioValidation Response
Order size below minimum notional valueError: Order size too small for symbol requirements
Spread band set too narrow (<40 bps)Error: Spread must be at least 40 basis points wide
API key missing spot trading permissionError: API key lacks required trading permissions
Tick interval set below exchange rate limitError: Tick interval too short for exchange API limits
Attempt to use unsupported strategy typeError: Strategy type not available for launch

Best Practices for Setting Up Your Bot

  • Double-check exchange and symbol rules before configuring your bot.
  • Use the console’s feedback to correct any errors flagged during validation.
  • Set spreads and order sizes that are both compliant and aligned with your liquidity goals.
  • Keep API permissions minimal—Atlas LP never requires withdrawal rights.

For more on configuring your bot securely, see [/liquidity-bot].

Conclusion

Atlas LP’s comprehensive settings validation is a critical safeguard for anyone running automated spot market making strategies. By catching configuration errors before launch, it helps users deploy reliable, compliant, and secure liquidity bots across supported exchanges. This approach not only protects users from costly mistakes, but also supports the integrity and transparency of crypto markets.

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.

← Back to blog

Frequently asked questions

What happens if I try to start a bot with invalid settings in Atlas LP?

Atlas LP will prevent the bot from starting and display a clear error message in the console, indicating which setting needs to be corrected.

How does Atlas LP ensure my bot settings comply with exchange rules?

Atlas LP checks all settings against live exchange API data, including symbol rules for minimum order size, notional value, and tick size, ensuring full compliance before launch.

Can I use unsupported strategy types in Atlas LP?

No. Only the Basic strategy is currently available. Other strategy types shown as 'soon' in the console cannot be started.

Does Atlas LP ever require withdrawal permissions for my exchange API key?

No. Atlas LP only requires read and spot trading permissions. Withdrawal permission is never requested or needed.

Why is spread width validation important in market making?

Spread width validation ensures that orders are not placed too close together, which helps maintain a fair and compliant order book and reduces the risk of excessive trading fees.

Related articles

Run your spot liquidity bot with clear controls

Connect an exchange API key, set your spread band and order levels, and monitor orders, fills and balances from one console.

Create an account