Setting up a Trade Bot
Once you have completed Installing HTS and setting up HTS for the first time, you can create your first Trade Bot. Before we go further, you will want to understand how the Trade Bot works. Feel free to browse around the wiki and soak up as much information as you can. When you are ready to continue, read on.
The first step to creating a Trade Bot is to open up the HTS interface and then click on the Trade Bots menu item on the left menu panel. Next Create a [New Trade Bot Tab]] by clicking the plus sign (+)."
Creating a New Trade Bot
From there, you will be prompted to enter in general details like the Bot Name, Exchange, and Currency Pair. Go ahead and fill that in and click "Add Bot."
Now click on your bot.
In the trade settings section you can set the trade amount limits for the bot. You can also set the order type for the bot.
Coin position indicates which position you are starting with.
- For margin/leverage this usually is set to No Position, unless you already have entered a long/short position and want the bot to manage it further.
- For spot market it can be Sold, which indicates you are in the secondary (base) currency or it can be Bought, which means you now have the first currency, i.e. ETH in ETHUSD pair.
- If you have both first and second currency then you can select either of the starting coin position options.
When a bot makes a trade later on, the coin position will change here automatically.
Trade Amount Type has 3 options:
- Static (adjusted for fees) - will trade whatever amount is set in the "Trade Amount" field. If the amount in the wallet is less than trade amount, it will stop trading and will display message "Trade Amount too high" and the dollar sign of the Trade Settings button will light up red.
- All-in - this option will trade 99% of what total of the capital there is in the wallet. Be careful, as you can run into an unexpected situation where you start a bot to trade 10 ETH that you have in the wallet. The bot would sell 9.9 ETH and get for example $4000 for them. Now next step is where the problem can arise. If you have any more USD other than those $4000, the bot will sell 99% of all USD and buy as much ETH as it can with it.
- Maximum Trade Amount - is probably the best choice for most traders. It is kind of a mix between Static and All-in. It will trade whatever the amount is set in Trade Amount field, but if there is less funds available, it will not stop trading and instead trade with 99% of what is available. If it has enough funds later on, it will start again trying to sell/buy the original amount that was set by user.
Trade Amount Advanced Settings
In the advanced settings you can set the limit order type and high speed trading options.
Now, you will most likely want to set up one or more Indicators for your Trade Bot. To do this, click on the plus sign (+) next to "Indicators to show a list of Indicators to choose from. Once you have found your desired settings for your selected Indicator[s], go ahead and click "Update." If you would like to see the chart, click on the "Backtest" button. The green boxes above the chart signify buy signals while the red boxes signify sell signals.
Once your Indicator[s] are set up, you may want to add in a Safety. To do this, you will click on the plus sign (+) next to "Safeties." You will then be prompted to choose a Safety from the list. Configure the settings for each Safety and then click "Update." If you want to check out the Safety chart, go ahead and run a backtest.
Now, you may want to set up an Insurance as well. To do this, go ahead and click on the plus sign (+) next to "Insurances" which will then prompt you to choose an Insurance. Once this is complete and the Insurance is configured to your liking, simply click "Update". The Insurance is now configured!
Activating the Trade Bot
Now that everything is configured to our liking, there is only one thing left to do: activate the bot. Simply click the "Play Button" to activate the bot.
And thats it! You have now successfully created a Trade Bot!