Hosting OANDA Trading on a VPS: fxTrade, MetaTrader, and the v20 API
OANDA is unusual among retail FX brokers in how many ways it lets you trade: its own fxTrade platform, a full MetaTrader 4/5 offering, and one of the most developer-friendly REST APIs in retail forex. Which of those you use changes what a VPS does for you — so here is the case for each, and how to place and size the server.
The v20 API: Where a VPS Stops Being Optional
OANDA's v20 REST API is a standard first stop for traders learning algorithmic FX — Python wrappers are mature, streaming rate endpoints are straightforward, and a working bot fits in a few hundred lines. But a bot is only as reliable as the machine it runs on: a laptop that sleeps mid-position or a home connection that drops during a news spike turns clean code into an unmanaged open trade.
On the VPS, your v20 code runs as a scheduled task or background service on a machine with continuous uptime and a 1Gbps datacenter port. Rate streams stay connected, order calls take a consistent path, and logs accumulate on NVMe storage where you can inspect them from any device. The Swing plan ($45/mo, 4 cores, 10GB RAM) comfortably runs several Python bots.
fxTrade and OANDA MT4/5: Session Stability
For discretionary and EA-driven trading, the argument is continuity. OANDA's MT4/5 terminals running Expert Advisors need to stay connected 24/5 — every disconnect is a window where your EA can't manage its positions. The desktop fxTrade platform likewise holds your charts, layouts, and staged orders only while it's running. Both live happily on a server that never sleeps and reconnects within seconds after any network event.
Many OANDA traders run both surfaces at once — fxTrade or the web platform for discretionary work, an MT4/5 terminal for EAs — plus supporting tools like copy traders or signal listeners. That combination is exactly what a dedicated Windows Server is for; Momentum ($85/mo, 8 cores, 20GB) covers a multi-terminal setup with headroom.
Placement: New York or London, by Division
OANDA operates regional divisions, and your account's home region determines where its trade servers sit. As a practical rule: accounts with OANDA's US division are best served from our New York site at Equinix NY7; accounts with the European or UK entities are best served from London LD4. Both facilities are major FX interconnection points, which keeps the path from your terminal to OANDA's infrastructure short.
If you're unsure which region your account lives in, check your OANDA account details or ask their support which entity holds your account — then pick the matching location at checkout. The difference is modest for discretionary trading but worth getting right for EAs and API bots that react to price.
