Grid bots: Main settings and options | 3Commas Help Center (2024)

Grid bots: Main settings and options | 3Commas Help Center (1)

In the standard form, you can select the exchange account, pair, and set investment.

Below, you can see the following information:

  • How much base currency will be used in sell orders;

  • How much quote currency will be used in buy orders;

  • High price;

  • Low price;

  • Step of grid orders and their quantity.

If you switch the pair selector to View balances mode, you will see information about the balances of the currencies.

Grid bots: Main settings and options | 3Commas Help Center (2)

You can set the investment amount for the bot through the Investment field.

Above the investment field, the total equivalent of free balance in both currencies of the pair in the service's system currency is displayed. You can click on this number to view details, including finding out how much funds are being used in other products.

If the available funds on the selected exchange do not meet the settings requirements, the bot will perform a market balancing before starting trading. During market balancing, the bot will buy or sell a portion of the base currency to restore the necessary proportions required for trading. This process is carried out exclusively within the selected pair without using any other coins on your account.

Supported exchanges.

  1. Binance Spot

  2. Bybit Spot

  3. OKX Spot

  4. Demo account (Paper trading)

Grid bots: Main settings and options | 3Commas Help Center (3)

Testing on historical data allows for quick debugging of a strategy without the need for real-time testing on a Demo account (Paper trading).

The backtest function calculates the realized profit and number of closed trades of the bot over a 120-day period.

Please note that past performance is not indicative of future results.

Grid bots: Main settings and options | 3Commas Help Center (4)

The Optimize function becomes available after completing a backtest if your bot has 50 or more lines. You can use it to automatically adjust Step based on volatility, maximizing potential profit. Optimizer runs a series of backtests with different Step values and selects the result with the highest profit.

Grid bots: Main settings and options | 3Commas Help Center (5)

If you wish, you can go to the Customize tab where you will have access to a wider range of settings, as well as an additional Options menu.

The available settings will vary depending on the exchange and type of bot.

Grid bots: Main settings and options | 3Commas Help Center (6)

Traders usually prefer using a geometric bot because its order sizes are determined by a fixed amount of the quote currency. This means that each lower buying level allows the bot to acquire more of the base currency than a higher level, thereby increasing its ability to improve the average cost of acquiring the base currency during price drops.

In a geometric bot:

  • The step is determined by a percentage value of the price.

  • The order size is determined by a volume value of the quote currency.

  • Trailing up is only supported in geometric bots.

  • Profit currency is supported in both arithmetic and geometric bots.

Example.

Assuming you have set a profit-taking coefficient at 1%, the price distribution will be as follows:

Price_1 = Lower price

Price_2 = Lower price + 1%

Price_3 = Price_2 + 1%

Price_n = Upper price = Price_(n-1) + 1% (n - number of levels).

Grid bots: Main settings and options | 3Commas Help Center (7)

In an arithmetic bot:

  • The step is determined by the value of the price change in the quote currency;

  • The order size is determined by the value of the volume in the base currency.

Example.

Assuming you want to create a bot for the BTC/USDT pair and place lines at each round price level.

Thus, the bottom price would be 22,000.

The next level would be at the price of 23,000.

The level above that would be at the price of 24,000.

...

The top price would be 34,000.

To make this possible, you need to set 13 levels where the profit percentage will vary because the difference of 1000 USDT is 4.34% between the bottom grid and only 2.94% at the top grid.

Grid bots: Main settings and options | 3Commas Help Center (8)

Grid bots: Main settings and options | 3Commas Help Center (9)

This is the upper limit of the trading range. When the price reaches and crosses the upper limit, the bot executes the last sell order and stops trading. However, the bot remains active and will resume trading if the price returns to the trading range.

Trailing up

This feature is available for:

  • Spot Grid bots (Geometric type);

  • Futures Grid bots with Long strategy (both Geometric and Arithmetic types).

This feature allows your bot to increase the trading range, following an upward trend.

How does Trailing up work?

Grid bots: Main settings and options | 3Commas Help Center (10)

Once the price rises 2 steps above the High price of the bot, the farthest buy order at the lowest price is canceled and placed 1 step above the bot's High price. As the price continues to rise, the lowest buy orders are again canceled and placed above the High price, and so on.

Expansion up

This feature is available for:

  • Futures Grid bots with Reversal and Short strategies (both Geometric and Arithmetic types).

This function allows your bots to expand the trading range upwards following the upward trend.

Stop expansion up

This function allows you to set a price at which the bot will stop expanding up.

How does Expansion up work?

Expansion up requires an additional investment since the bot does not cancel old Buy orders but places additional Sell orders above the bot's upper boundary.

As soon as the highest Sell order is executed, the bot will automatically place an additional Sell order one step higher without canceling the lowest Buy order.

Thus, the user-defined number of lines will increase due to additional orders until the price reaches the Stop expansion up level.

Grid bots: Main settings and options | 3Commas Help Center (11)

Low price - this is the lower limit of the trading range. When the price reaches and crosses the lower limit, the bot executes the last buy order and stops trading. However, the bot remains active and will resume trading if the price returns to the trading range.

Trailing down

This feature is available for:

  • Futures Grid bots with Short strategy (both Geometric and Arithmetic types).

Grid bots: Main settings and options | 3Commas Help Center (12)

This function allows your Short bot to move the trading range downwards following a downward trend.

How does Trailing down work?

Once the price falls 2 steps below the bot's Low price, the farthest sell order at the highest price is canceled and placed 1 step below the bot's Low price. As the price continues to fall, the highest sell orders are again canceled and placed below the Low price, and so on.

Expansion down

This feature is available for:

  • Spot Grid bots (both Geometric and Arithmetic type);

  • Futures Grid bots with Long and Reverse strategies (both Geometric and Arithmetic types).

This function allows your Long or Reversal bot to expand the trading range downwards following a downward trend.

Stop expansion down

This function allows you to set a price at which the bot will Stop expanding down.

How does Expansion down work?

Expansion down requires an additional investment since the bot does not cancel old sell orders but executes additional buy orders to place new sell orders below the bot's lower boundary.

The bot will place an additional buy order one step lower as soon as the lowest buy order is executed.

Thus, the user-defined number of lines will increase due to additional orders until the price reaches the Stop expansion down level.

Grid bots: Main settings and options | 3Commas Help Center (13)

The grid step of your bot is the take profit of each individual transaction made by the bot.

The values of step and levels are related in such a way that the smaller the step you set, the more levels the bot will need to fill the trading range between the High price and the Low price.

Keep in mind that exchange fees are not excluded from the grid step, which means that the smaller the step you set, the less net profit you will have. You can optimize your step automatically after conducting a backtest.

For a geometric bot, you can choose to set the step in percentages or switch to level input and set the number of levels. For an arithmetic bot, you can only set the number of levels. In both cases, the corresponding value will be calculated automatically.

Grid bots: Main settings and options | 3Commas Help Center (14)

This optional setting allows you to set the size of your bot's orders.

For Futures markets, this field is called Position per level.

For an arithmetic grid, the order size is set in the base currency, while for a geometric grid, it is set in the quote currency.

Grid bots: Main settings and options | 3Commas Help Center (15)

This option allows you to choose the currency in which the bot will not only calculate but also accumulate your profit.

This functionality is available for both arithmetic and geometric bots on Spot exchanges.

Please note that if you choose the base currency as the profit currency, it is recommended to track the bot's trading results in Crypto equivalent.

Grid bots: Main settings and options | 3Commas Help Center (16)

This function is used to limit potential losses and preserve funds in case of an unfavorable market price movement.

Upper stop bot

The upper stop is available only if Trailing up is disabled. You can choose the action that the bot will take when the specified price is reached:

  • Stop the bot;

  • Stop the bot and buy the base currency.

Lower stop bot

You can choose the action that the bot will take when the specified price is reached:

  • Stop the bot;

  • Stop the bot and sell the base currency.

If your bot has Trailing up enabled, then the lower stop bot will also trail up, maintaining the distance to the Low price of your bot unchanged.

How does the Stop bot work for Futures Grid bots?

There are two possible actions if the price crosses the High price or falls below the Low price of your grid:

“Stop bot” simply disables the bot, but keep in mind that you will still have an open futures position for the contract traded on your exchange, and you will have to manually "manage" this position, as there will be no tools controlling it to avoid liquidation! Additionally, you can convert your open position to a SmartTrade with just a few clicks!

“Close position and stop bot” will make the GRID bot create a trade to buy or sell to close the position if the price crosses the Stop bot price.

⚠️Note: Grid Bot will only close the contracts it bought or sold during the period it was running. If you have "Beast Mode" enabled, you may have changed the position size, and the GRID bot cannot take this into account.

Grid bots: Main settings and options | 3Commas Help Center (17)

Most exchanges have a limitation on the number of limit orders that can be placed simultaneously on the same trading pair. To be able to run multiple bots with a large number of levels and not hit these limits, you can use the active order restriction feature. This does not affect the investment required by the bot, but it limits the number of orders the bot can place on the exchange at the same time.

This feature is available for both Geometric and Arithmetic bots. You can set limits for both buy and sell orders.

Grid bots: Main settings and options | 3Commas Help Center (18)

Grid bots: Main settings and options | 3Commas Help Center (19)

By default, the bot's name is set according to the selected trading pair, but if you wish, you can always change it to something more suitable for you.

You can change the name of the bot either in the optional bot settings menu or in the bot list.

Grid bots: Main settings and options | 3Commas Help Center (2024)
Top Articles
Latest Posts
Article information

Author: Amb. Frankie Simonis

Last Updated:

Views: 6249

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Amb. Frankie Simonis

Birthday: 1998-02-19

Address: 64841 Delmar Isle, North Wiley, OR 74073

Phone: +17844167847676

Job: Forward IT Agent

Hobby: LARPing, Kitesurfing, Sewing, Digital arts, Sand art, Gardening, Dance

Introduction: My name is Amb. Frankie Simonis, I am a hilarious, enchanting, energetic, cooperative, innocent, cute, joyous person who loves writing and wants to share my knowledge and understanding with you.