When running Hummingbot locally on your computer, closing the application or shutting down your machine also stops the bot from trading. Also, running locally relies on your computer's resources and internet connection.
It is important to get a proper set up for Hummingbot for long term success. By setting up Hummingbot on a cloud server, you’ll be able to run Hummingbot 24/7 and not miss out on any rewards. Some advanced users use cloud servers running on Linux to keep Hummingbot in the background.
Comparing different cloud servers
For users who are looking to run Hummingbot for prolonged periods of time, especially multiple bots simultaneously, local installation can be limiting. Currently, each bot requires its own docker image, which can use up local computing power, memory, and storage. Further, your bots can only be running for as long as your computer is in use, limiting your liquidity mining rewards if your computer has to be offline / shut down from time to time. With the cloud, you can solve all of these issues.
Review our blog post and documentation. It is also important to note that Hummingbot is not limited to running in the cloud providers mentioned. AWS, GCP and Azure are the ones we tested so far and we have seen users running Hummingbot on others.
This blog post examines the pros and cons of four major cloud hosting companies to host Hummingbot:
How to run Hummingbot in the cloud: comparing different cloud providers
If you qualify to be a Hummingbot Eagle Club member , you will be able to get US$5K free AWS credits as a start.
If you are not familiar with Linux, it is important to get familiarized with the terminal commands starting from navigating the directories and making changes to a file.
You can practice in your Linux cloud server or in this web-based terminal.
Your SSH keys are required to gain access to the server. Follow the steps in the links below based on your operating system.
How to generate an SSH key pair in Mac OS?
The Hummingbot DockerHub publishes Docker images for the master
(latest) and development
builds of Hummingbot, as well as past versions. Some advanced users prefer using Docker instead of installing from source. They find it easier and more convenient because of the following :
We recommend this path for users who run Hummingbot on Linux, in the cloud, and/or multiple bots.
Linux:
macOS
Windows
Here are some important Docker commands you will be using more as support and if not, you need to understand how they work and what each commands does. Look them up and see what each command does, better if you can test to see it in actual.
docker inspect ...
docker ps -a
docker stop ...
docker attach ...
docker run ...
docker rm ...
docker rm $(docker ps -a -q)
docker rmi ...
docker pull ...
If you want to learn more about it you can visit their documentation.
This installation type is more for developers, both internal and external, who wants to contribute to the code base. It's just cloning from GitHub repo https://github.com/CoinAlpha/hummingbot → install → compile → run Hummingbot. You can also use the helper scripts and follow the instructions in the documentation.
Docker
create.sh
script and enter "development" during the prompt. This will pull/download the development image (if not found locally) and run the container using that image.From Source
git fetch origin
git checkout development
./uninstall && ./cleanimpo
./install && conda activate hummingbot && ./compile
bin/hummingbot.py
Hummingbot running in development branch has a prefix dev- in the version number.
Some users like to use Terminus to manage multiple bots:
As mentioned in the beginner level, if you want to run multiple bots and they are all using up the same asset (eg. USDT), you can use the balance limit feature.
Balance Limit
Sets the amount limit on how many assets Hummingbot can use in an exchange or wallet. This can be useful when running multiple bots on different trading pairs with same tokens e.g. running a BTC-USDT pair and another bot on ETH-USDT using the same account.
免责声明:位于https://hummingbot.io、https://docs.hummingbot.io、https://miners.hummingbot.io的网站(统称为“网站”)是属于CoinAlpha, Inc.(“公司”、“我们”和“我们的”)的受版权保护的作品。本网站的某些功能可能受附加指南、条款或规则的约束,这些指南、条款或规则将发布在与此类功能相关的网站上。所有此类附加条款、指南和规则均通过引用纳入本条款。这些使用条款(以下简称“条款”)规定了具有法律约束力的条款和条件,以规范您对本网站的使用。访问或使用本网站,即表示贵方接受这些条款(代表贵方自己或贵方所代表的实体),并且贵方声明并保证贵方有权利、权限和能力签订这些条款(代表贵方自己或贵方所代表的实体)。如果贵方未满18岁,则不得访问、使用本网站或接受这些条款。如果贵方不同意这些条款的所有规定,请勿访问和/或使用本网站。