Setting up Haasbot
Synchronizing Your Computer's Time
It is rather important that the first thing a user does before running Haasbot is to synchronize the time on the computer you plan to run Haasbot on. If there is a large delay between the time that an exchange uses and your computer's time, there could be some issues, so its best to just synchronize the time on the computer you will run Haasbot on.
The easiest way to synchronize the clock on a windows machine to to download and install the "NetTime" application. Its free and all you have to do is to install it and run it and it will keep the time on your windows computer perfectly synchronized. Once you have done that, you are ready to set up Haasbot for the first time.
Setting up Haasbot for the First Time
Setting up Exchange API keys
Before we get our API keys and input them to Haasbot, we need to set up which exchanges we would like to use in settings and to receive cached price data. To do this, click the switch on the left side of the exchanges that you would like to use. After that click "create new account" and select the exchange from the drop down menu. If you are confused have a look at the video above.
Exchange API keys are how Haasbot sends Trade Signals to an exchange. The API keys consist of a Public and Private, also known as Secret, key. In order to get these, you need to login to the exchange[s] that you want Haasbot to trade on and Generate API keys. Each exchange is a bit different, but you can find the API key information under "Security" or "API" in account settings.
Once you are there, for security reasons, its important to only allow API access from the IP address where you will be trading from, whether it be a VPS or your home network's IP Address. You can find what your IP address is by visiting a website like Whatismyipaddress.com. Also, it is important to select the following when generating an API key:
- Account Balance
- User Transactions
- Open Orders
- Cancel Order
- Buy Limit Order
- Sell Limit Order
Note: Each Exchange is different, but these are generally the settings you need to enable for the API key for Haasbot to function properly.
Once you have generated an API key[s] for the exchange[s] you would like to trade on, you can now input them into Haasbot.
To add these API keys to Haasbot, you need to open an interface and click on "Settings" on the left side menu, and then "API Keys and Price Drivers."