IBKR TWS logoTWS & IB Gateway hosting

Best VPS for Interactive Brokers TWS & IB Gateway

Keep Trader Workstation, IB Gateway, and your API strategies connected to Interactive Brokers around the clock, on a dedicated Windows server close to IBKR's data centers.

Starting from $16.67/month

  • 14-day money-back guarantee
  • Ready in under 60 seconds
  • MT4 & MT5 pre-installed

Why Run IBKR on a VPS?

Every Interactive Brokers API strategy, whether in Python, Java, C#, or C++, talks to IBKR through a running copy of TWS or IB Gateway. If that application lives on your home computer, your bot is only as reliable as your Wi-Fi, your power, and your operating system's update schedule.

A MarginVPS server keeps TWS or IB Gateway running on dedicated hardware in a professional data center, with a stable connection to IBKR's regional servers. Your scripts, the gateway, and your monitoring all live on one always-on machine you can reach from anywhere.

TWS or IB Gateway: which should your VPS run?

Both connect your code to Interactive Brokers through the same API. The difference is everything around it.

Trader Workstation (TWS)IB Gateway
InterfaceFull trading platform with charts, option chains, and order entryA small login window and no trading screens
Memory useHeavy: plan for several GB with many windowsLight: comfortably fits on Basic alongside a Python bot
API accessYesYes, the same API
Default API ports7496 live, 7497 paper4001 live, 4002 paper
Daily restartYes, by designYes, by design
Best forTraders who also trade or monitor by handUnattended bots and API-only strategies

Port numbers are IBKR's defaults and can be changed in the API settings of either application.

Match your account region to a VPS location

IBKR connects you to servers in your account's home region. Put your VPS in the same part of the world.

Your IBKR accountConnects toBest MarginVPS location
US and AmericasIBKR's North American serversNew York
UK and EuropeIBKR's European serversFrankfurt or London
Asia-PacificIBKR's Asian serversHong Kong

Not sure which region your account uses? IBKR support can confirm it in a minute.

Set Up IBKR in Three Steps

Pick Your Region

New York for US accounts, Frankfurt or London for Europe, Hong Kong for Asia-Pacific accounts.

Install TWS or IB Gateway

Install the IBKR app you use, then your API client, whether that's Python, Java, C#, or another language.

Automate the Daily Restart

Configure the daily restart and auto-login tools you rely on so your session comes back without you.

Pricing

Simple pricing for every trading setup

Every plan runs on dedicated resources with your trading platform pre-installed and 24/7 support included. Upgrade any time, no long-term contract.

Basic VPS

Best for 1 to 2 trading accounts

$16.67/mo
$20.83/moSave 20%

$200 billed yearly

Launch Now
CPU
2 CPU Cores
RAM
2 GB DDR5
Storage
60 GB NVMe
Most Popular

Standard VPS

Best for 3 to 6 trading accounts

$26.67/mo
$33.33/moSave 20%

$320 billed yearly

Launch Now
CPU
2 CPU Cores
RAM
4 GB DDR5
Storage
70 GB NVMe

Professional VPS

Best for 7 to 8 trading accounts

$40.00/mo
$50.00/moSave 20%

$480 billed yearly

Launch Now
CPU
4 CPU Cores
RAM
8 GB DDR5
Storage
100 GB NVMe

14-day money-back guaranteeReady in under 60 secondsSecure checkout

Every plan includes

Pre-installed platforms

MetaTrader 4MetaTrader 5MarginVPS MT ManagercTraderTradingView

Compatible with any broker or trading platform

Locations
LD4, NY4, FR2, TY3, SG1, HK1, DUB1
Latency
~1ms or less to most brokers
OS
Windows Server (Licensed)
IP Address
1 Dedicated IP Address
Uptime
99.99% Uptime SLA
  • Ready in under 60 seconds
  • Free location changes
  • Free Windows reinstalls
  • 1-click file upload
  • Works with any broker
  • Works with any trading platform
  • Dedicated IP address
  • Automated daily backups
  • Firewall & DDoS protection
  • MT4 & MT5 pre-installed
  • 99.99% uptime SLA
  • 14-day money-back guarantee
  • 24/7/365 technical support
  • 1-click platform installer
  • Network tuned for trade execution
  • Proactive uptime monitoring

Need more power? Dedicated Server: Up to 25 trading accounts

From $145.83/mo · In stock, ready within 24 hours

View Dedicated Servers

VPS Locations

Choose the data center closest to your broker for the lowest possible latency.

Frequently asked questions

Should I run TWS or IB Gateway on my VPS?

For API-only bots, IB Gateway is lighter and uses less memory. If you also trade or monitor manually, run TWS. Both work on any MarginVPS plan and both expose the same API.

Which location is best for Interactive Brokers?

Pick the region your account connects to. Most US accounts use IBKR's North American servers, so New York is best. European accounts are usually best served from Frankfurt, and Asia-Pacific accounts from Hong Kong.

What about the daily TWS restart?

TWS and IB Gateway restart once a day by design. On a VPS you can configure the built-in auto-restart and add a login automation tool, so your session comes back without anyone at the keyboard.

Which plan should I choose for IBKR?

Basic is fine for IB Gateway plus a light Python bot. If you run full TWS with many windows, or several strategies at once, choose Standard or Professional for extra RAM.

Can I run multiple IBKR accounts on one VPS?

Yes. You can run separate TWS or Gateway instances on different API ports, each logged in to its own account, as long as your plan has the memory to support them.

Save 20% today

From $16.67/mo · <1ms latency

Launch Now