Black Friday: Save 10% for life on all of our VPS plans, now through Cyber Monday

10% off on selected plans for as long as you keep the service · new orders · up to 10 uses per customer · ends Dec 1, 2026, 12:00 AM EST.

See plans
Guideschevron_rightServers

Servers · 7 min read · Updated

How to Run Hummingbot on a VPS

To run Hummingbot on a VPS, install Docker on Ubuntu, clone the Hummingbot repository, run make setup and make deploy, then docker attach hummingbot to reach its client. Set the password that encrypts your exchange keys, run a strategy against a paper-trade exchange first, and give the real exchange key trading rights only, locked to the server's IP address.

1. Install Hummingbot With Docker

On Ubuntu 24.04, after securing the server and installing Docker:

sudo apt install -y git make
git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot
make setup        # asks whether to include Gateway, the add-on for decentralised exchanges
make deploy       # starts the container
docker attach hummingbot

The client opens full screen and asks for a password on first use; it encrypts the exchange keys you add. Leave it running and step out with Ctrl+P then Ctrl+Q, Docker's detach keys; Ctrl+C would stop it.

2. Paper Trade First

Hummingbot also has a command-line client, hbot. Install it on the server with make link-cli, then create and start a simple market-making bot on the paper-trade exchange:

hbot create simple_pmm --name conf_paper_bot.yml --set exchange=binance_paper_trade --set trading_pair=BTC-USDT
hbot start conf_paper_bot.yml
hbot status
hbot stop

The paper exchange simulates fills against live Binance prices, so you see how the strategy places and moves orders without any money involved. Leave it for days, not minutes.

3. Connect a Real Exchange

hbot connect binance

Before you paste the keys in, set them up on the exchange:

  • Trading only: allow reading and trading, never withdrawals, so a leaked key cannot move funds off the exchange.
  • Locked to the server: most exchanges let you allow a key only from given IP addresses. Your VPS keeps the same address, so a key restricted to it is useless anywhere else.
  • Small first: start live strategies with a small amount and watch the first trades.

Decentralised Exchanges and Security

With Gateway included, Hummingbot can trade on decentralised exchanges. Its README notes that Gateway starts in development mode over unencrypted HTTP; for real use, switch it to production mode and generate its certificates as Hummingbot's Gateway documentation describes. Keep any Hummingbot API or dashboard off the public internet: reach it over an SSH tunnel or WireGuard.

Update by pulling the repository and redeploying, and back up its configuration folder, which holds your strategies and encrypted keys, with Borg. Prefer a strategy-first bot with backtesting? See running Freqtrade on a VPS.

Common Questions

  • What is Hummingbot?

    An open-source (Apache 2.0) framework for automated trading bots, best known for market making. It connects to many centralised and decentralised exchanges and runs strategies you configure or write yourself.

  • Can I try it without risking money?

    Yes. Hummingbot has paper-trade exchanges, such as binance_paper_trade, that simulate orders against live market data. Run a strategy there first and watch how it behaves before connecting a real account.

  • Where are my exchange API keys stored?

    Encrypted on the server. On first use Hummingbot asks for a password, and it encrypts the API keys you connect with it. Keep that password out of shell history and scripts unless you have to run it unattended.

  • Does Virteche give trading advice?

    No. We provide the server. The strategy, the exchange account and the results are yours.

Plans and prices

VPS Plans

KVM servers with NVMe storage, a fixed IP address and full root access.

See all plans
  • Bronze

    3 vCPU · 6 GB RAM · 75 GB NVMe

    2 TB transfer

    $37.50/mo

    Configure inAshburnDallas
  • Silver

    4 vCPU · 8 GB RAM · 100 GB NVMe

    4 TB transfer

    $46.50/mo

    Configure inAshburnDallas
  • Gold

    6 vCPU · 12 GB RAM · 150 GB NVMe

    6 TB transfer

    $60.00/mo

    Configure inAshburnDallas
  • Diamond

    8 vCPU · 16 GB RAM · 200 GB NVMe

    8 TB transfer

    $73.50/mo

    Configure inAshburnDallas

Network port: 10 Gbps in Ashburn, VA, 50 Gbps in Dallas, TX. Pick the location when you configure.

Keep Reading

All guides