Nodes welcome · NVMe sized for the chain · no KYC. Pay in crypto: BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Pick a block

Guide · checked 10 November 2026

How to install Freqtrade on a VPS?

Freqtrade runs well in Docker on a small server. Install it, test in dry-run, keep the web interface off the public internet, then go live.

Last updated: · 8 min read

Quick answer

How to install Freqtrade on a VPS?

To install Freqtrade on a VPS, install Docker, download the official docker-compose.yml, pull the image, create the user directory and a config, then start the container in dry-run. The project asks for 2 GB RAM, 2 vCPU and 1 GB of disk; Blockgilt Leaf has 4 GB and 80 GB.

In brief
  • Freqtrade lists 2 GB RAM, 2 vCPU and 1 GB of disk as its minimum.
  • Leaf (2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic) costs $3.50 a month on 12 months.
  • Install with Docker: compose file, pull, create-userdir, new-config, up -d.
  • Dry-run is the default; test there before any live trade.
  • Use an exchange API key with trading rights only, never withdrawal rights.

What does Freqtrade need on a VPS?

Freqtrade minimums from its documentation next to the Blockgilt Leaf plan
ItemFreqtrade minimumLeaf plan
RAM2 GB4 GB
CPU2 vCPU2 vCPU
Disk1 GB80 GB NVMe
Price-$3.50 a month on 12 months, $21.00 for 3 months, the minimum
Install methodDocker (or Python 3.12 or newer with setup.sh)Debian 13, Debian 12, Ubuntu 24.04 LTS

Minimums from the Freqtrade documentation, read on 10 November 2026.

What are the steps to install Freqtrade on a VPS?

Run the commands as a non-root user in the docker group, or prefix them with sudo.

  1. Order a Leaf and log in over SSH

    You get root over SSH. Paste a public key at checkout and password login stays disabled; leave it blank and the team sets a one-time root password, shown in your dashboard, that you change on first login. Harden the server first with how to secure a VPS for a crypto node or bot.

  2. Install Docker Engine

    Download Docker’s convenience script, read it, then run it. It installs the engine and the compose plugin.

  3. Download the compose file

    Create a folder named ft_userdata and fetch the official docker-compose.yml from the stable branch of the Freqtrade repository.

  4. Pull the image and create the user directory

    Two docker compose commands download the image and create the user_data folder structure.

  5. Generate the config

    The new-config command asks questions and writes user_data/config.json. Enable the web interface only if you reach it through an SSH tunnel.

  6. Run in dry-run first

    Dry-run is the default. Start the container and watch it trade with a simulated wallet before any real money is at stake.

  7. Create exchange keys without withdrawal rights

    In the exchange account, create an API key with trading rights only. Put the key and secret in the exchange block of the config.

  8. Go live and monitor

    Set dry_run to false, restart the container and follow the logs. Back up user_data off the server.

How do you install Docker and the Freqtrade image?

You install Docker with its convenience script, then pull the Freqtrade image with the official compose file. Docker’s own page says to examine any script downloaded from the internet before you run it, so open it with less first.

Docker Engine
curl -fsSL https://get.docker.com -o get-docker.sh
less get-docker.sh
sudo sh get-docker.sh
Freqtrade compose file, image, user directory
mkdir ft_userdata
cd ft_userdata/
curl https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml -o docker-compose.yml
docker compose pull
docker compose run --rm freqtrade create-userdir --userdir user_data

The official compose file uses the image freqtradeorg/freqtrade:stable, restarts the container unless you stop it, mounts ./user_data into the container and publishes the web interface on 127.0.0.1:8080 only. That last detail matters: Docker’s documentation warns that published container ports are not filtered by your firewall rules, so a binding to 127.0.0.1 keeps the interface private. The latest Freqtrade release on 10 November 2026 is 2026.10. Sizing, plans and bot-specific advice are in Freqtrade VPS.

How do you create the config and start in dry-run?

You run the new-config command, answer its questions, and start the bot with docker compose up -d. Freqtrade’s dry_run setting defaults to true, with a simulated wallet of 1000 units unless you change dry_run_wallet. In dry-run the bot performs only read-only operations on the exchange.

Config, start, logs
docker compose run --rm freqtrade new-config --config user_data/config.json
docker compose up -d
docker compose ps
docker compose logs -f

Without a strategy name in the compose file, the bot runs SampleStrategy, which is only a demo. Copy your own strategy into user_data/strategies/ and add its class name to the command section of docker-compose.yml. Use up -d, not run, so the container restarts after a reboot. Logs are also written to user_data/logs/freqtrade.log, and trades are stored in user_data/tradesv3.sqlite.

How do you reach the Freqtrade web interface safely?

You reach it through an SSH tunnel, not through a public port. Freqtrade’s documentation says the interface does not support HTTPS out of the box and recommends an SSH tunnel or a VPN. The REST API example binds listen_ip_address to 127.0.0.1 and port 8080.

From your own computer, forward a local port to the server, then open localhost:8080 in your browser. The -N flag tells ssh not to run a remote command, which is what you want for pure forwarding.

On your computer
ssh -N -L 8080:127.0.0.1:8080 [email protected]

Which exchange API key should the bot use?

The bot should use a key with trading rights and no withdrawal rights, and the key belongs in the exchange block of the config, not in a shared file. Freqtrade’s documentation says to keep api_key and secret private and recommends a second configuration file for them. Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key.

A key that cannot withdraw limits the damage if the server or the config leaks: the worst case is bad trades, not an emptied account. Restrict the key to your server’s IPv4 address in the exchange settings when the exchange offers it. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS, so copy user_data/config.json and your strategies to a place you control.

Which VPS size and city does Freqtrade need?

A Leaf is enough for the live bot, and a larger plan only pays off for hyperopt and many bots. According to Blockgilt’s sizing of 10 November 2026, the 4 GB of a Leaf holds two Freqtrade minimum footprints of 2 GB on paper, and its 80 GB NVMe is 80 times the 1 GB the project lists. Hyperopt and backtests are heavier and have no documented figure, and the documentation advises against hyperopt on a Raspberry Pi, so size up before you run them. An Ingot with 16 GB fits several bots side by side.

For latency, an AWS industry post places Binance in Tokyo, Bybit in Singapore, Coinbase in the US and Deribit in London. Amsterdam (Netherlands), Zurich (Switzerland), Singapore and Tokyo (Japan): all eight plans in all four cities, at one price. Keep the system clock synchronized with NTP, as Freqtrade requires. Compare options in the best VPS for a trading bot and read how Freqtrade compares with Hummingbot.

Which plan for Freqtrade?

Term

Leaf

2 vCPU · 4 GB RAM · 80 GB NVMe

$7

$21 for 3 months

6 months $33.60 (−20%)1 year $42 (−50%)

  • 2 vCPU, 4 GB RAM, 80 GB NVMe
  • Trading bots, a pruned Bitcoin node with Lightning
  • 4 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
  • $3.50 a month on the 12-month term ($42.00 a year)
  • HostBrr Value 8GB: $4.67 a month for 2 vCPU / 8 GB / 80 GB NVMe (10 November 2026)
Order this VPS

Gilt

4 vCPU · 8 GB RAM · 250 GB NVMe

$25.22

3 months $75.666 months $121.05 (−20%)1 year $151.32 (−50%)

  • 4 vCPU, 8 GB RAM, 250 GB NVMe
  • BTCPay Server with Lightning, pruned Bitcoin and Monero
  • 8 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
  • $12.61 a month on the 12-month term ($151.32 a year)
  • HostBrr Value 32GB: $16.82 a month for 8 vCPU / 32 GB / 320 GB NVMe (10 November 2026)
Order this VPS

Ingot

4 vCPU · 16 GB RAM · 500 GB NVMe

$38.50

3 months $115.506 months $184.80 (−20%)1 year $231 (−50%)

  • 4 vCPU, 16 GB RAM, 500 GB NVMe
  • A full Monero node, or several bots side by side
  • 12 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
  • $19.25 a month on the 12-month term ($231.00 a year)
  • ServaRica V2 KVM Slim Slice 4: $25.67 a month for 4 vCPU / 16 GB / 500 GB NVMe (10 November 2026)
Order this VPS

In every plan: NVMe sized for the chain · Inbound P2P ports open · Nodes welcome, mining banned · IPv4 + IPv6 /64 · Root over SSH · No KYC

Verdict
  • Blockgilt Leaf is the better choice if you install one Freqtrade bot with Docker: 4 GB of RAM covers the documented 2 GB, for $3.50 a month.
  • Your own computer is the better choice if you only backtest and never need the bot online around the clock.
Sources (8)
  1. Freqtrade documentation home (hardware, disclaimer) — Freqtrade (checked 2026-11-10)
  2. Freqtrade with Docker quickstart — Freqtrade (checked 2026-11-10)
  3. Freqtrade installation — Freqtrade (checked 2026-11-10)
  4. Freqtrade configuration — Freqtrade (checked 2026-11-10)
  5. Freqtrade REST API — Freqtrade (checked 2026-11-10)
  6. Install Docker Engine on Debian — Docker (checked 2026-11-10)
  7. ssh(1) manual — OpenBSD project (checked 2026-11-10)
  8. Ultra-low latency cross-region crypto trading with Avelacom and AWS — Amazon Web Services (checked 2026-11-10)

Freqtrade on a VPS questions

Can Freqtrade run on a 2 GB VPS?

Yes for the live bot: the project lists 2 GB RAM, 2 vCPU and 1 GB of disk as its recommended minimum. Hyperopt and backtests need more memory and have no documented figure.

Should I install Freqtrade with Docker or Python?

Docker is the simpler route on a server, and the documentation tells server users to consider Docker or a terminal multiplexer such as screen or tmux. The Python install needs Python 3.12 or newer and a setup script.

Is dry-run the default in Freqtrade?

Yes. The dry_run setting defaults to true, and the dry-run wallet defaults to 1000 units. The project advises you to always start in dry-run.

How do I keep Freqtrade running after a reboot?

Start it with docker compose up -d. The official compose file restarts the container unless you stop it, so it comes back after a reboot.

Does Blockgilt give trading advice?

No. Blockgilt sells servers, not trading advice. A bot can lose money as fast as it can make it; test strategies on paper first and give exchange API keys trading rights only, never withdrawal rights.

Install Freqtrade on a Leaf

2 vCPU, 4 GB of RAM and 80 GB of NVMe for $3.50 a month on 12 months.

From $3.50/month · no KYC

Pick a block