Getting Started with a Bitsgap GRID Trading Bot

This article will show you how to start a new GRID bot, modify its settings, close bots, and restart them if needed.

How to create a GRID Bot

In this part, you will learn how to create and run your first GRID bot. Please, follow our step-by-step instructions below.

1. Select a bot type

To start a new GRID bot, click theĀ [Start new bot]Ā button located in the top menu of the Bots page.

image (1).png

You will see a pop-up window with all the available bots. Choose [GRID bot].

CleanShot 2023-03-10 at 11.31.53@2x.png

2. Select an exchange and a trading pair

On the right side of your screen, a menu for creating your first GRID bot will be shown, where you can select the exchange, the pair, the investment and set the advanced settings if you want to customize them to your strategy.
Read more about advanced settings in our article -Ā Customize Advanced Bitsgap Grid Bot Settings.

image (2).png

Let's move to the next step. Start by selecting an exchange and a pair. Click on the ā€œExchangeā€ window to choose an exchange, then ā€œPairā€ to set the trading pair. Once this is done, move to the following step.

CleanShot 2023-03-10 at 11.35.09@2x.png

Enter the totalĀ investmentĀ value you would like to operate with or use the slider to specify the percentage based on your available balance.

CleanShot 2023-03-10 at 11.35.27@2x.png

The Investment field shows:

  • an approximate amount of the investment in your selected system currency;
  • how much of the base currency is required for your initial sell orders (BTC);
  • how much of the quote currency is required for your initial buy orders (USDT).

TheĀ Available for bot useĀ window displays the amount of both currencies (base and quote) available on your balance, already taking into account the deduction of 5%, which is reserved to cover any trading fees charged by the exchange.

Note
The balance of the quote and the base currency will change during the bot's work since both buy and sell orders will be executed. Depending on which way the price goes, the open orders of your bot may have more base or more quote currency than it had initially.

3. Backtest

Backtest allows you to evaluate the bot performance based on historical data of a trading pair for a selected period. This feature may help you understand your bot's settings and optimize them for the selected trading pair.

To backtest your bot settings, click on the [Backtest] button. In the pop-up window, you will see the calculated results of the bot's work (bot profit) with the current settings for the past 30 days (by default), like in the example below.

image (3).png

4. Review and confirm the settings

This is the final step before launching the bot. Here you can review all the selected settings.

Preview settings

  • Bot type
  • Exchange
  • Pair
  • The initial investment in the bot
  • Profit currency
  • The base currency in open sell orders
  • The quote currency in open buy orders
  • High and Low prices
  • GRID botā€™s levels
  • GRID step between levels
  • Order size currency
  • Trailing Up On/Off
  • Pump Protection On/Off

CleanShot 2023-03-10 at 11.39.21@2x.png

If changes need to be made, go back by clicking on the arrow. Otherwise, click theĀ [Start Bot] button.

Analyze your botā€™s performance

You can always track your bot's results in the detailed "Performance" window. This will help you better understand your bot's performance and results, as well as get more detailed information about each transaction. It can be found on the right-hand side after clicking on a necessary bot:

GIF Recording1.gif

Here you can see overall and dailyĀ bot profit,Ā unrealized PNL,Ā trading time,Ā and the number ofĀ completed transactions. It also shows the ratio of the quote and base currency in open orders and their current value.

eng.png

Bot orders

You can find more information about your completed and open bot trades in the "Bot orders" tab. To access the tab, click [Bot actions] and select the [View details] option.

GIF Recording.gif

The ā€œHistoryā€ tab displays specific details on all the trades your bot has already completed. Here, you will see the following information:

  • The time when each order was filled;
  • Order side (buy or sell);
  • Action (order type);
  • Order amount in the base currency;
  • Order price;
  • Exchange trading fee;
  • Profit per each trade;
  • Total profit considering the applied trading fees.

Open orders tab

If you want to check the status of your bot open trades, head to "Open orders" in the "Bot orders" tab:

GIF Recording.gif

Here you can find the "Open orders"Ā tabĀ with more info about the number of open orders, their time, side, type, price, amount, and status.

Modify bots

Whenever you want to adjust settings on any bot, select the bot you need and press [Bot actions] > [Modify Bot] on the right-hand side.

GIF Recording.gif

Tip
Please be advised that Trailing Up/Down, Take Profit, Stop Loss, and Pump Protection can be modified on any active bot.

You can also adjust the number of grid levels. Feel free to find more info on how to do that in our article - Adapt to Market Changes by Modifying the Grid Levels of the Active Bot.

Once all the necessary changes have been made, proceed by clicking the [Continue] button. Double-check your new settings on the bot's preview page, and then press [Confirm].

GIF Recording.gif

Close bots

To close a bot, select the one you need, and navigate the mouse cursor to the [Stop Bot] button.

GIF Recording.gif

On your right-hand side, you will see a panel with your bot's current status and options for how the bot can be closed.

Stop Bot Conditions

  1. Cancel all open orders: This option will close all your open orders; the base currency and the quote currency from open trades will return to your available balance.
  2. Sell at limit price: Your bot will get canceled, and the system will place a limit order either at its break-even price or at any price of your choice. This way, you can sell the bot's base currency and take profit at any selected level.
  3. Sell at the market price: By choosing this option, all the base currency in open orders will be sold at the market price, leaving you the results highlighted in the Total PNL column.

Restart closed bots

To restart a closed bot, go to the [History] tab. Then select the bot that you prefer and click [Bot actions]>[Restart].

GIF Recording.gif

Adjust the settings if needed, and proceed to the bot's overview tab. Double-check the chosen parameters and launch the bot by pressing [Start Bot].


Get stuck? Ask your question to our community onĀ Telegram!