
Interactive Brokers (IBKR) is a go-to platform for professional traders, algo developers, and institutions — but running Trader Workstation (TWS) reliably requires more than just a local install. If you’re serious about uptime, automation, or 24/7 connectivity, hosting IBKR TWS on a Virtual Private Server (VPS) is the best way to go.
In this guide, we’ll walk through the full process to run Interactive Brokers TWS on a VPS — including installation, configuration, and automation tips to keep your platform running around the clock.
Table of Contents
Why Run IBKR TWS on a VPS?
Running TWS on a local desktop may be fine for casual use, but serious traders face challenges:
Frequent disconnections or forced logouts
System reboots or crashes during critical hours
Lack of 24/7 uptime for algorithmic or automated strategies
Remote access limitations when traveling or using multiple devices
Hosting IBKR on a VPS solves all of these problems. You get:
Persistent uptime (24/7 operation)
Reduced latency to IBKR servers
Remote access from anywhere
Ideal setup for API, gateway, or automation tools
What You’ll Need
To run Trader Workstation on a VPS, you’ll need:
A Windows VPS with at least 2 GB RAM and 2 vCPUs
Your IBKR login credentials
Java Runtime Environment (optional; TWS includes it by default)
💡 For best performance, use a VPS located near IBKR’s data centers (e.g., NY4 if trading US markets).
Step-by-Step: Installing IBKR TWS on a VPS
Step 1: Choose a VPS Provider
Select a high-performance Windows VPS optimized for trading. At NYCServers, we offer VPS service with ultra-low latency to key financial hubs (NY4, LD4, TY3).
Step 2: Connect to Your VPS
Use Remote Desktop Protocol (RDP) to log in.
On Windows, search for Remote Desktop Connection
On macOS, use Microsoft Remote Desktop (free app)
Enter your VPS IP, username, and password.
Step 3: Download Trader Workstation
Go to IBKR’s official TWS download page inside your VPS browser.
Choose the Offline TWS installer for best compatibility.
Step 4: Install TWS
Run the installer and follow on-screen instructions
Launch TWS from the desktop icon
Enter your IBKR credentials and select either Live or Paper trading
Optional: Configure Autostart and Keep-Alive
To keep TWS running 24/7 and avoid logouts or crashes:
Enable Auto-Login in TWS
Go to File > Global Configuration > Login Settings
Enable Auto-login
Check Use/store settings on server for syncing
Use Task Scheduler to Auto-Restart
If TWS closes or restarts during IBKR system maintenance:
Open Windows Task Scheduler
Create a new task:
Trigger: At startup and/or daily
Action: Start program → browse to
tws.exe
Optional: Use IB Gateway for API Access
If you’re running automated strategies via IBKR’s API, consider using IB Gateway instead of TWS.
It uses fewer resources and is ideal for headless VPS environments.
Tips for Optimizing IBKR on a VPS
Avoid screen timeouts or auto-lock in Windows settings
Allocate enough RAM and CPU if running TWS alongside other platforms (e.g., MetaTrader, NinjaTrader)
Keep Java updated if you’re using the standalone Java version
Use a VPS with SSD or NVMe storage for faster application performance
Enable Windows Updates manually to avoid unexpected reboots
Common Use Cases for Running IBKR on a VPS
Algo Trading & Bots – Run scripts or platforms (e.g., Python, MultiCharts, MetaTrader) connected via the IB API
24/7 Connectivity – Keep trading accounts online without relying on your home internet
Low Latency Arbitrage – VPS location near IBKR servers can help reduce order execution lag
Remote Trading – Log into your TWS session from any device, anywhere in the world
Choosing the Right VPS for IBKR
Look for:
Windows Server 2022
At least 2 vCPUs, 2 GB RAM, more if running multiple apps
Low-latency network (under 2ms to IBKR’s trading servers)
Full RDP access and admin rights
Optional: Dedicated IP, SSD/NVMe, support for scheduled tasks
At NYCServers, our VPS service is optimized for 24/7 TWS uptime, with locations close to IBKR’s infrastructure in NY4.
Final Thoughts
Running Interactive Brokers Trader Workstation on a VPS is the smartest way to ensure stability, automation, and remote access for your trading setup. Whether you’re managing multi-asset portfolios, using IB API, or simply want uninterrupted access — a VPS gives you the power and control you need.
Ready to Get Started?
We’ll set up your VPS for IBKR TWS — optimized, secured, and ready to trade.