Setting up a Trade Bot

From Haasonline Software Wiki
Jump to: navigation, search

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.

HTS Interface

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."

Wiki-tradebotbasic2-1024x472.jpg Wiki-tradebotbasic3-1024x468.jpg

Now click on your bot.

General Information

In this section of the trade bot you can find information about the exchange, trade fees, open orders and profits/losses. Wiki-tradebotbasic4-1024x473.jpg

General Settings

In the general settings section you can set the trading account and trading pair to use. You can also name the bot and add it to a bot group (optional). Wiki-tradebotbasic5-1024x467.jpg

Trade Settings

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:

  1. 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.
  2. 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.
  3. 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 we are ready to start to adding Indicators, Safeties, and/or Insurances to our Trade Bot.

Setting up an Indicator for the Trade Bot

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.

Wiki-tradebotbasic9-1024x469.jpg Wiki-tradebotbasic10-1024x469.jpg

Setting up a Safety for the Trade Bot

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.

Wiki-tradebotbasic8-1024x467.jpg Wiki-tradebotbasic7-1024x463.jpg

Setting up an Insurance for the Trade Bot

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!

Wiki-tradebotbasic11-1024x468.jpg Wiki-tradebotbasic12-1024x471.jpg

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!