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.
Step 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.
You will see a pop-up window with all the available bots. Choose [GRID bot].
Step 2: Select an exchange and a trading pair
On the right side of your screen, a menu for the creation of 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.
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.
Enter the total investment value you would like to operate with, or use the slider to specify the percentage based on your available balance.
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 balance 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 originally.
Step 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.
Step 4: Review and confirm the settings
This is the final step before launching the bot. Here you can review all the selected settings:
Initial investment in the bot;
Base currency in open sell orders;
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.
If changes need to be made, go back by clicking on the arrow. Otherwise, click the [Launch bot] button.
📊 Analyze your bot’s performance
You can always track your bot's performance and results in the detailed view 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 opened with a little chart icon next to your bot:
This window shows your bot's live results. Here you can see bot profit, unrealized profit, 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.
The "Transactions" tab will display 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);
Order amount in the base currency;
Price (for both buy and sell trades);
Exchange trading fee;
Profit per each trade;
Total profit considering the applied trading fees.
Active orders tab
If you want to check the status of your bot open orders, please, head to the "Active orders" tab. There you'll find info regarding the number of open orders, their type, side, status, price, amount, and time.
You may read more about how to fix your orders through the "Active orders" tab in the Spot Bot - Active orders article.
🛠️ Modify bots
Whenever you want to adjust settings on any bot, select the bot you need and press the [Modify] button on the right-hand side.
💡 Please be advised that only Trailing Up/Down, Take Profit, Stop Loss, and Pump Protection can be modified on any 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].
⛔ Close bots
To close a bot, select the one you need, and navigate the mouse cursor to the [Close] icon.
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.
1) Cancel all open orders. This option will simply close all your open orders; the base currency and the quote currency from open orders will come back to your available balance.
2) 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.
3) Place Sell Limit order at the break-even price. Closing at the break-even price allows you to close the position without any profits or losses.
After you choose how you want to close your bot, press the [Confirm] button. It will initiate the process of shutting your bot down.
♻️ Restart closed bots
To restart a closed bot, go to the [Spot history] tab.
Select the bot that you prefer and click [Modify and Restart].
Adjust the settings if needed, and proceed to the bot's overview tab. Double-check them again and start a bot by pressing [Launch bot].