VPS for trading bots
Host Python, Node.js or Windows trading bots around the clock with a fixed IP you can whitelist on exchange and broker APIs.
Recommended starting point
- Linux VPS Spark X1 — 1 vCore, 2 GB, 40 GB NVMe — ₹399/mo: 1–3 Python/Node bots.
- Linux VPS Boost X2 — 2 vCore, 4 GB — ₹749/mo: several bots plus a database.
- Windows VPS from ₹519/mo if your bot runs on Windows (AmiBroker, NinjaTrader, MT5).
Sizing guide
| Bot setup | RAM | Plan |
|---|---|---|
| 1–3 lightweight API bots (ccxt, Freqtrade dry-run) | 2 GB | Spark X1 (₹399) |
| Freqtrade/Hummingbot + PostgreSQL + dashboards | 4 GB | Boost X2 (₹749) |
| Backtesting, ML models, many pairs | 8 GB+ | Plus X4 (₹1,599) or Dedicated VDS |
Why a VPS for bots
- 24/7 uptime without leaving a PC on.
- Dedicated IPv4 to whitelist on exchange API keys (Binance, CoinDCX, WazirX, Delta) and broker APIs — a home IP changes; a VPS IP doesn’t.
- Choose Mumbai/Delhi for Indian exchanges and broker APIs, or Singapore/Germany for exchanges hosted abroad.
Running a Python bot as a service
sudo apt update && sudo apt install -y python3-venv git
git clone https://github.com/you/your-bot.git && cd your-bot
python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
sudo tee /etc/systemd/system/bot.service >/dev/null <<'EOF'
[Unit]
Description=Trading bot
After=network-online.target
[Service]
WorkingDirectory=/home/ubuntu/your-bot
ExecStart=/home/ubuntu/your-bot/.venv/bin/python main.py
Restart=always
RestartSec=5
User=ubuntu
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now bot && journalctl -u bot -fRestart=always brings the bot back after a crash or reboot. Keep API keys in an .env file readable only by the bot user (chmod 600).
Security checklist
- Create API keys with trading permission only — never withdrawal.
- Restrict each key to your VPS’s IPv4.
- Use SSH keys and disable password login.
- Enable
ufwand allow only SSH and any dashboard port you need (ideally behind a VPN or SSH tunnel).
FAQ
Linux or Windows?
Linux for Python/Node bots (cheaper, lighter). Windows for MT5, AmiBroker, NinjaTrader or other Windows-only tools.
Does the IP stay the same?
Yes — each HostStack VPS includes one dedicated IPv4 that stays with the server.
Which location is best?
The one closest to the exchange or broker API servers you trade on. Measure API round-trip time from a test server.
Do I get full root access?
Yes. Linux VPS plans come with full root access over SSH, so you can install any software, change any setting and run your own firewall.
Is DDoS protection included?
Yes. DDoS protection is included with every VPS plan at no extra cost.
Is bandwidth limited?
VPS plans include unmetered bandwidth on a 1 Gbps port, subject to our Fair Usage Policy.
How quickly will my server be ready?
Most orders are set up automatically once payment is confirmed, usually within minutes. Your login details are e-mailed to you and also shown in the Client Area.
Can I upgrade my plan later?
Yes. You can move to a larger plan with more CPU, RAM and storage from the Client Area whenever you need more resources.
HostStack plan prices and specs from our order pages, checked 20 November 2026.