Articles on: Signals and Automation

Grid Bot Settings

Contents

General

Price Range & Investments

i. Using BOTH currencies to fund your bot

ii. Using BOTH currencies: Example

Exit Settings

Related Articles




General

Item

Description

Comments

Account

Choose from the trading accounts you have on the selected exchange. These can either be Live or Paper accounts.

Grid Bots are spot-only, Futures are currently not supported.

Market

A single market is used for a Grid Bot. You can search the list using: Scroll down for more markets. /BTC, /USDT, ADA/ etc. Only markets on your exchange will be shown.

The best markets to use are those that are trending sideways or upwards, in a reasonably predictable range.

Bot Name

User defined. 4-64 characters.







Price Range & Investments



Item

Description

Comments

Upper Price [1]

This will be the maximum price of your grid. If Allow Trailing Up is not enabled, then your grid bot will not place orders above this price. Use the Price Picker (eyedropper icon) to choose a price, or choose a % preset, enter a percentage amount, or drag the TP price handle on the chart.

The grid spacings are equal in price (Arithmetic) or equal in percentage (Geometric). The highest and lowest price may be adjusted slightly from those you specify.

Allow Trailing Up? [2]

If the price goes above your upper price, should the bot start to move the grid upwards?

If turned On, once the price is above the grid, the bot will move the grid up one step at a time. The bottom buy order will be cancelled, and a new Buy order added above the grid. For more details, see the Bot Functioning tab. If you specify a Take Profit price (below), the grid will no longer be moved up, and will Take Profit at that point. If set to Off, when the price goes higher than the grid, the existing orders will remain in place. If the price returns to the grid, it will function the same way as before.

Lower Price [3]

This will be the minimum price of your grid. If Allow Trailing Down is not enabled, then your grid bot will not place orders below this price. Use the Price Picker (eyedropper icon) to choose a price, or choose a % preset, enter a percentage amount, or drag the SL price handle on the chart.

The grid spacings are equal in price (Arithmetic) or equal in percentage (Geometric). The highest and lowest price may be adjusted slightly from those you specify.

Allow Trailing Down?[4]

If the price goes below your lower price, should the bot start to move the grid downwards?

If turned On, once the price is below the grid, the bot will move the grid down one step at a time. The top Sell order will be cancelled, and a new Sell order will be added below the grid. For more details, see the Bot Functioning tab. If you specify a Stop Loss price (see below), the grid will no longer be moved down, and will Stop out at that point. If set to Off, when the price goes lower than the grid, the existing orders will remain in place. If the price returns to the grid, it will function the same way as before.

Scale type [5]

Choose how the grid levels are spaced: Arithmetic (Tick) spaces grid levels an equal price distance apart. Geometric (%) spaces grid levels an equal percentage apart.

Geometric grids aim for a more consistent profit per step across all grid levels. See Grid Bot Processing for more details.

# of placed orders [6]

This will determine the number of grid lines (and therefore orders) for the grid. There will be one order at each level. More orders means smaller orders, and more chance of catching small moves. Keep in mind that exchange trading fees are paid on each buy and sell.

Invest Coin  [7]

Choose between Quote and Both

Quote will only use Quote currency to fund the Grid Bot, Both will also use the Base currency if available. In the screenshot below, Quote would use USDT, Both would use USDT and SOL.

Size [8]

Insert the amount that will be used for the bot

Quote will use the specified amount of quote currency, for Both, see Using BOTH Currencies to Fund your Bot



Note just below the number of orders is summary information:


Profit per Step shows a range, because fees are not known in advance and profit varies slightly between steps.


  • For Arithmetic grids, some variation in profit per step is normal.
  • For Geometric grids, the profit per step should be more consistent. However, on markets where the tick size is large relative to the price, a fully geometric grid may not be achievable. In this case, a ⚠️ warning icon will appear next to the Profit per Step. Hovering over the icon will show the actual profit range and explain the limitation. The bot will still run normally within that range.


⚠️ Geometric grid not possible — If the price range and number of orders result in duplicate prices at the same grid level, the bot cannot be started. A warning message will appear: "Duplicate order at some prices. Increase the price range or reduce the number of orders." You must resolve this before saving. Either increase the price range, reduce the number of orders manually, or click Fix to have Altrady reduce the number of orders automatically.



ℹ️ Backtesting — Geometric grid is not yet available in the Grid Bot Backtester. See Grid Bot Backtesting for details.



The grid will be built using the Upper Price, Lower Price, Scale type, and the Number of Orders. Orders above the current price will be Sell Orders, and those below will be Buy Orders. When the Grid bot is started, it will need to buy enough base currency (coins) for the Sell orders that are above the current price. These coins are bought at Market (using a Limit Order at 1% above the current price). Each Buy and Sell order is for an equal amount of coins (base currency). Profits are accumulated in the quote currency (e.g. BTC, USDT). See Grid Bot Processing for more details.






Using BOTH Currencies to Fund your Bot


Item

Description

Comments

When to use

When creating a bot, if you have some available base currency, you can choose the BOTH option to fund your bot.

When editing a bot that has been running, you will probably have some base currency, so the funding option will default to BOTH.

1

The total value of: available quote currency and available base currency + quote and base currency currently reserved in orders for this bot.

2

The total amount of quote currency available (the Unreserved wallet balance + the quote amount currently reserved in orders for this bot).

and The total amount of base currency available (the Unreserved wallet balance + the base currency amount currently reserved in orders for this bot).

3

The position size or investment amount, in quote currency.

4

The amount of base currency the bot will need to place the initial Sell Orders.

5

The amount of base currency the bot will need to buy to make up the total amount of base currency required to place the initial Sell Orders.

6

The extra amount of base currency the bot will need to place the initial Buy orders. This will be funded by selling some base currency.

If there is enough base currency available to fund all of the Sell orders, and enough quote currency available to fund the Buy orders, then the bot will not place an initial order. It will use the available base and quote currency to start the bot.

A summary of how the bot will fund the orders:

7

Amount of base currency the bot will use.

8

Amount of quote currency the bot will use.







Using BOTH Currencies: Example


In the example below, there is enough Quote currency but not enough Base currency to fund the initial orders. The bot will buy some Base currency to fund the Sell orders. The bot only needs an extra 0.01 SOL, but the minimum order size on the exchange is 0.059 SOL. So the bot will need to place an order for 0.059 SOL. This is noted in the Confirmation message shown below.








Exit Settings


All Exit settings can be combined and all are optional.


If no exit settings are specified, the Grid Bot will continue running until it is Stopped manually, or a critical error occurs.


Item

Description

Comments

Take Profit

If Take Profit is switched On, you will need to enter a price above the grid where you want your Bot to stop. And also what to do with your coins when the Take Profit price is reached.

Behaviour on Stop

Cancel all orders — the coins held in each order will be kept.

If the price reaches your TP, it will be above your grid and most of your coins will be in quote currency (in Buy orders).

Convert into quote currency at market price — All orders cancelled, and all base currency coins will be sold at market price for quote currency.

Convert into base currency at market price — All orders cancelled, and all quote currency coins will be used to buy base currency at market price.

Price

The price at which to stop your grid bot and Take Profit.

Use the Price Picker (eyedropper icon) to choose a price, or choose a % preset, enter a percentage amount, or drag the TP price handle on the chart.

Stop Loss

If Stop Loss is switched On, you will need to enter a price below the grid where you want your Bot to stop. And also what to do with your coins when the Stop Loss is reached.

Behaviour on Stop

Cancel all orders — the coins held in each order will be kept.

If the price reaches your SL, it will be below your grid and most of your coins will be in base currency (in Sell orders).

Convert into quote currency at market price — All orders cancelled, and all base currency coins will be sold at market price for quote currency.

Convert into base currency at market price — All orders cancelled, and all quote currency coins will be used to buy base currency at market price.

Price

The price at which to stop your grid bot and reduce losses.

Use the Price Picker (eyedropper icon) to choose a price, or choose a % preset, enter a percentage amount, or drag the SL price handle on the chart.

Time-based Autoclose

To close your Grid Bot automatically after a set period of time.

Behaviour on Stop

The options are the same as for TP and SL.

Autoclose in

Choose Minutes, Hours or Days and the amount.









Grid Bot Processing

Grid Bot Error Messages

Grid Bot Analytics

Grid Bot Backtesting in Altrady

Updated on: 18/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!