Skip to main content
Grid Trader

This bot automates the popular "grid trading" strategy which seeks to profit from volatility of the market by placing multiple buy and sell

Quadency Customer Service avatar
Written by Quadency Customer Service
Updated over a week ago

Latest updates - August 2022:

  • You can now deposit QUAD, USDC & USDT to run bots on external exchanges! For every trade filled by the bot, a small fee will be charged. For more information about the bot’s fees and how they are calculated, have a look at this article.


This bot automates the popular "grid trading" strategy which seeks to profit from the volatility of the market by placing multiple buy and sell limit orders on grid lines around the current price. As the price moves up and down within the grid, profit is realized from each buy-low, sell-high cycle completed.


Unlike strategies that rely on technical indicators to generate buy/sell signals, grid trading makes use of simple price action of the market to consistently buy low and sell high on every opportunity. This is accomplished by placing multiple orders on both sides of the book and cornering the price.

As the price moves up and down within the grid, filled orders are automatically replaced with the appropriate buy or sell orders to continue trading. If a buy order is filled, a corresponding sell order is placed on the gridline above, and conversely, if a sell order is filled, a buy order is placed on the line below. The distance between these lines is the incremental profit made on every buy/sell roundtrip. The longer the price stays within the grid, the more opportunities for profit exist.

How to configure Grid Trader

General Settings

  • Configuration Name: A name/label for this configuration. You can copy and modify a configuration to run this bot on multiple markets simultaneously.

  • Exchange: The exchange to run this bot on. Click here to view all supported exchanges and functionalities.

  • Market: The pair (symbol) to trade. Quadency's standard convention is Base/Quote.

Strategy Settings

  • Amount Per Order: Enter the amount or quantity of base currency to use for limit orders. For example, if you are trading BAT/USDT, enter the number of BAT for each buy and sell order. click here to view minimum order size guide.

  • Mode: In automatic mode, the bot will automatically calculate the upper and lower boundaries of the grid by using the highest and lowest price from the trailing 7 days (+/- 2%). Number of grids used in automatic mode is 10. If the price exits the grid, the bot will cancel all open orders and stop trading.

Manual Mode Settings

  • Upper Bound Price: Price at which to place the topmost (highest) order

  • Lower Bound Price: Price at which to place the bottommost (lowest) order

  • Number of Grids: Enter the number of grid lines to use. Number of grid lines is equal to the number of total initial orders that will be placed. Generally higher is better if you have sufficient balance for good coverage of the trading range for the market being traded.

  • When Price Exits Grid: Indicate what to do when the price leaves defined grid boundaries. The boundaries are between the highest sell and lowest buy, plus one additional grid distance for buffer. If the price continues moving in one direction and leaves the grid, we have a choice between the following:

  1. Cancel all orders and stop bot
    Use this option if you want to cancel all remain open orders and stop the bot.

  2. Cancel all orders, close all positions and stop bot
    Use this option if you want to close all positions in addition to cancelling any remaining open orders. A position is open if the bot has bought quantity but has not sold the same amount or conversely if it has sold but has not bought back the same amount. Positions are closed with market orders and may experience significant slippage on low liquidity markets.

  3. Do nothing
    Use this option if you would rather wait for the price to return back within the grid boundaries. As the price reenters the grid, the bot will resume trading. However, if the price never re-enters the grid, the orders will remain open indefinitely until manually cancelled.


Sufficient balance is required for both the base asset and the quote asset. The amount needed can be calculated per following example:

Market: BAT/USDT

Price: $1.00

Amount Per Order: 20

Grids: 10

Buy orders = 10/2 = 5

Sell orders = 10/2 = 5

BAT balance required: 5 x 20 = 100 BAT

USDT balance required: 1 x 5 x 20 = $100 USDT

Note: Balance requirements shown above apply when the current price is in the middle of the range to be traded. Because the current price can be on the top or bottom end of the range, the amount required for either asset will vary. Insufficient balance in either asset will result in bot stopping with an error. If the balance becomes insufficient while the bot is running, the exchange will reject your orders. It is advisable to additional balance as a buffer for both assets.

You might be interested in

Did this answer your question?