Trading Bots

What Is a Grid Bot?

A Grid Bot is an automated trading tool that executes buy and sell orders within a predefined price range. It divides that range into multiple "grids" (price levels) and automatically places orders at each level—buying at lower prices and selling at higher prices.

Grid bots are typically used in range-bound markets where prices oscillate within a defined range. Performance depends entirely on market conditions and configuration—grid bots do not guarantee profits and may result in losses.

Key Features

  • Automated Execution — Trades execute automatically based on your configured parameters, with no manual order placement required.

  • Two-Way Trading — The bot places buy orders at lower grid levels and sell orders at higher levels.

  • Flexible Configuration — Customize price ranges, grid count, investment amount, and other parameters to match your strategy.

  • Real-Time Monitoring — View bot status, executed orders, positions, and accumulated profits at any time.

  • Secure Operation — Strategies run entirely within the exchange environment. No API keys are required, minimizing operational risk.


Understanding the Bot Hierarchy

Before setting up your bot, it's important to understand how bots and grids are organized:

Level
Scope
Description

Bot

Subaccount

A bot operates at the subaccount level. One bot = one subaccount dedicated to automated trading.

Grids

Symbol

Within a bot subaccount, you create grids for specific trading pairs (e.g., SOL/USD, BTC/USD). Each grid operates independently on its symbol

Example: You create a bot subaccount called "My Grid Bot." Within that bot, you can set up a SOL/USD grid and a BTC/USD grid—each with its own price range, grid count, and investment amount.

Tip: Hover over any parameter in the interface to see its tooltip for additional guidance.


How to Set Up a Grid Bot?

Step 1: Create a Grid Bot

  1. Log in to your exchange account.

  2. Click on your account avatar.

  3. Click the "+" icon next to Bot Accounts.

  1. Enter a name for your bot (e.g., "SOL Grid Strategy").

  2. Click Add subaccount.

Step 2: Fund Your Bot

Transfer funds to your bot subaccount using one of these methods:

Step 3: Select the Trading Pair

  1. Enter your bot subaccount.

  2. Navigate to the Bots section.

  3. Choose Futures Trading.

  4. Select your target trading pair (e.g., SOL-PERP).

Step 4: Configure Parameters

  1. Set the Price Upper Limit — The highest price in your grid range.

  2. Set the Price Lower Limit — The lowest price in your grid range.

  3. Enter the Number of Grids — How many price levels to create within the range.

  4. Enter the Total Grid Value — The capital allocated to this grid.

  5. Click Create Grid — The bot will begin running automatically.

Note: More grids = more frequent trades with smaller price differences between levels. Fewer grids = less frequent trades with larger price differences between levels.


Bot Management

Understanding Bot ON/OFF States

The ON/OFF toggle controls whether the bot is actively managing trades for the entire subaccount.

State
What Happens

ON

The bot actively executes trades according to your grid configurations. Important: You cannot manually trade in this subaccount while the bot is ON.

OFF

The bot stops executing new orders. Existing pending orders remain but can be cancelled manually. You can trade manually in the subaccount.

⚠️ Key Point: If the bot is ON but you have no active grids, no trading will occur. The bot needs at least one grid to execute trades.

⚠️ Manual Trading Restriction: You cannot manually place orders in a bot subaccount while the bot is ON. Turn the bot OFF first if you need to intervene manually.

Adjusting Grid Settings

To modify an active grid:

  1. Go to the Grids tab.

  2. Select Edit.

  3. Adjust parameters such as:

    • Expanding or narrowing the price range

    • Pausing or restarting the grid

Deleting a Grid

  1. Go to the Grids tab.

  2. Select Delete.

  3. Choose whether to close all remaining positions automatically.


Take-Profit and Stop-Loss Settings

⚠️ Important: Take-profit and stop-loss apply to the entire bot subaccount, not to individual grids.

Stop-Loss

Defines a drawdown threshold that will stop the bot when reached.

How it works:

  • The bot tracks the highest equity your subaccount reaches after the strategy is activated.

  • If equity falls X% below that peak, the bot stops automatically.

Example: Peak equity reaches $1,500. With a 20% stop-loss setting, the bot stops if equity drops to $1,200.

Take-Profit

Defines an equity threshold that will pause the bot when reached.

How it works:

  • The bot tracks the lowest equity your subaccount reaches after the strategy is activated.

  • If equity rises X% above that low point, the bot pauses automatically.

Example: Low point was $1,000. With a 20% take-profit setting, the bot pauses when equity reaches $1,200.

Auto-Close Positions

When setting up take-profit or stop-loss, you can choose whether to automatically close all positions when either threshold is triggered.


Risk Warnings

Market Risks

  • No Guarantee of Profit — Grid bots do not guarantee returns. Users may lose some or all of their invested capital.

  • Market Conditions — Grid strategies are designed for range-bound markets. Trending markets, breakouts, or unexpected volatility can result in significant losses.

  • Liquidation Risk — When using leverage or futures grids, price movements may trigger liquidation or forced closure, resulting in loss of funds.

  • Extreme Volatility — Sharp price swings or low liquidity can cause slippage, execution delays, order failures, or strategy invalidation.

Technical Risks

  • Exchange-Side Issues — While your local network doesn't affect the bot (it runs on the exchange), exchange system instability may temporarily interrupt strategy execution.


Fees and Costs

Cost Type
Description

Trading Fees

Based on your account tier and the exchange fee schedule. Each grid order incurs standard trading fees.

Slippage

Based on volatile or low-liquidity conditions, execution prices may differ from expected prices.


Frequently Asked Questions (FAQs)

Does the Grid Bot guarantee profits?

No. Grid bots do not guarantee profits. You may lose some or all of your invested capital depending on market conditions, configuration, and other factors.

What happens if the price moves outside my grid range?

If the price moves above your upper limit or below your lower limit, the bot will not execute new trades until the price re-enters the range. Depending on your positions, this may result in unrealized losses.

What happens if the price range is set too wide?

Trade frequency decreases, but price differences between grid levels increase.

How do I choose the number of grids?
  • High volatility → More grids

  • Low volatility → Fewer grids

Users may consider historical volatility when configuring.

Can I stop the strategy at any time?

Yes. When stopping, you can choose whether to close all positions automatically or leave them open.

Why can't I trade manually in my bot subaccount?

When the bot is ON, manual trading is disabled to prevent conflicts between your orders and the bot's automated strategy. Turn the bot OFF if you need to trade manually.

Can I run multiple grids in one bot subaccount?

Yes. A single bot subaccount can contain multiple grids for different trading pairs. Each grid operates independently on its symbol. Note that take-profit and stop-loss settings apply to the entire subaccount, not individual grids.

⚠️ Disclaimer: Trading bots involve significant risk. You may lose some or all of your invested capital. Past performance does not guarantee future results. This documentation explains how the feature works and does not constitute financial advice or a recommendation to use this product.

Last updated