Home › FX Trading School › Advanced
Managing an EA Portfolio on VPS Infrastructure
Running an EA portfolio on VPS infrastructure is where automated trading stops being a hobby project and starts requiring real operational discipline. By this point in the course you should already be comfortable with position sizing, correlation and drawdown limits from Module 19's earlier lessons on portfolio construction — this lesson assumes that groundwork and builds the infrastructure layer on top of it.
A single EA on a laptop is forgiving. A portfolio of several EAs, each opening and managing trades independently, on a server you rarely look at directly, is not. Get the setup wrong and you can end up with correlated risk you didn't intend, an EA that's silently stopped trading, or a VPS outage that leaves open positions unmanaged. None of this is theoretical — it's the standard failure mode for traders who scale up EA use without scaling up their process.
Why VPS Infrastructure Matters for an EA Portfolio
A Virtual Private Server keeps your MetaTrader terminal (or terminals) running continuously, independent of your home PC or internet connection. For a single EA this is a convenience. For a portfolio of EAs it's closer to a requirement, because:
- Uptime compounds across EAs. One dropped connection can affect every strategy running on that terminal simultaneously, not just one trade.
- Execution timing consistency matters more when multiple EAs are reacting to the same market events — a VPS closer to your broker's server reduces variable latency between strategies.
- You need a stable base for monitoring. Logs, alerts and remote access all depend on the terminal actually being online when you check it.
A VPS does not improve your strategy's statistical edge. It reduces operational risk — the risk that a good strategy fails for reasons that have nothing to do with the market. That distinction matters: don't confuse "more reliable" with "more profitable."
Structuring the Portfolio Before You Touch the Server
Infrastructure decisions should follow strategy decisions, not the other way round. Before deploying anything to a VPS, each EA in the portfolio needs:
- A unique magic number so trades from different EAs never get confused or accidentally closed by another EA's logic.
- An independent lot-sizing rule, ideally based on account equity and that EA's own risk allocation, not a fixed lot size copied from a backtest.
- A maximum drawdown cap, either built into the EA or enforced by an external monitoring tool, that pauses trading if breached.
- A correlation check against the other EAs — two trend-following EAs on correlated pairs (say EUR/USD and GBP/USD) can behave as one oversized position in a fast move.
Document this on a simple spreadsheet: EA name, symbol(s), magic number, max risk per trade, max portfolio drawdown contribution, and which account/server it runs on. If you can't summarise your portfolio in one table, it's too complex to monitor properly yet.
Setting Up Multiple EAs on One VPS
In practice, this usually means running separate MetaTrader terminal installs — one instance connected to, for example, Pepperstone's MetaTrader server, and potentially another connected to IG, if you're diversifying broker execution as well as strategy. A few practical rules:
- Keep each install in its own folder. Never point two live terminals at the same installation directory — settings, templates and log files will conflict.
- Name terminals clearly (e.g. "Pepperstone-Live-Trend", "IG-Live-MeanReversion") so you're never guessing which window is which during a fast market.
- Match VPS specs to your load. More charts, more symbols and more EAs mean more RAM and CPU. A VPS that's fine for one EA can struggle silently with five.
- Check your broker's VPS policy. Some brokers offer discounted or free VPS above a certain trading volume — worth checking on the [brokers page](/brokers/index.html) rather than assuming.
Test the full setup in a demo environment for at least a few weeks before going live with real capital across multiple EAs at once.
Monitoring: The Part Most Traders Skip
An EA portfolio on VPS infrastructure needs a monitoring routine, not just a "set and forget" mindset. Build this in from day one:
- Daily log review — check each EA's log file for errors, rejected orders, or unexpected pauses.
- Automated alerts — most EAs and VPS providers support push notifications or email/SMS alerts on connection loss or specific trade events. Set these up rather than relying on manually checking.
- Equity and drawdown tracking — a simple daily snapshot of account equity against your documented drawdown cap, so you notice deviation early, not after the fact.
- Remote desktop discipline — log in on a schedule (e.g. every morning before your session opens), not only when something feels wrong.
Missing a genuine EA malfunction for a few days because you weren't checking is a far more common cause of loss than any single bad trade.
Cost Control Across the Portfolio
Every EA carries costs beyond the VPS bill itself: spread, commission, swap on overnight positions, and often a licence fee for the EA software. Across a portfolio, these compound.
| Cost item | Where it bites | |---|---| | VPS hosting | Fixed monthly, regardless of EA performance | | EA licence fees | Fixed or recurring, per strategy | | Spread/commission | Per trade, scales with EA trade frequency | | Swap | Per overnight position, varies by pair and direction |
A high-frequency EA that looked profitable in a backtest can be quietly unprofitable live once real spread and commission are applied — this is exactly why PipTax's [cost tool](/audit.html) exists: to compare how these costs stack up against your expected edge before you commit real capital, using your actual broker and account type rather than backtest assumptions.
Building a Failover Plan
Infrastructure fails. Plan for it rather than hoping it won't happen:
- Know your VPS provider's uptime guarantee and support response time before you need it, not during an outage.
- Set broker-side protections — stop losses and, where available, guaranteed stops on open positions, so a disconnected EA can't leave a position unmanaged indefinitely.
- Keep a manual override plan — know how to log in via mobile or a secondary device to close positions if the VPS is unreachable.
- Test your failover once — deliberately disconnect the VPS in a demo environment and confirm your stops and alerts behave as expected.
Conclusion: Treat It as Infrastructure, Not a Trick
Managing an EA portfolio on VPS infrastructure is an operational discipline, not a shortcut to better returns. The VPS keeps things running; it's your position sizing, correlation checks, monitoring routine and failover plan that actually manage the risk. Build the portfolio logic first, using the sizing and drawdown principles from earlier in Module 19, then treat the VPS setup as the reliable, boring plumbing underneath it. Before scaling to more EAs or more capital, revisit your costs on the [cost tool](/audit.html), check current [broker VPS policies](/brokers/index.html), and if you need a refresher on the underlying portfolio concepts, the [course index](/school/index.html) links back to those earlier lessons.
Key takeaways
- Running an EA portfolio on VPS infrastructure only makes sense once you understand correlation, position sizing and drawdown from earlier portfolio-management lessons
- Treat each EA as a separate risk unit with its own magic number, lot-sizing logic and maximum drawdown cap, not just a folder on the same chart
- VPS choice matters for latency and stability, but it does not fix a bad strategy or hide correlated risk across EAs
- Build a monitoring routine (daily checks, alerts, log review) before you scale from one EA to a full portfolio
- Budget for VPS cost, EA licence fees and slippage/commission together — use the cost tool to see how they eat into edge
- Have a documented failover plan for VPS outages, broken internet, or a runaway EA before you need it
Frequently asked questions
- Do I need a VPS to run more than one EA?
- Not strictly, but it's the practical standard once you're running two or more EAs continuously. A VPS keeps your terminal online 24/5 without depending on your home broadband or laptop staying on. If your PC sleeps, updates, or loses power, every EA on it stops working mid-trade, which is a real risk on open positions.
- Can I run EAs from different brokers on the same VPS?
- Yes. You'd typically run separate MetaTrader installs, one connected to, say, a Pepperstone server and another to an IG account, each in its own folder. Keep them in genuinely separate directories so template files, EA settings and logs don't overwrite each other.
- How many EAs is too many for one VPS?
- There's no fixed number — it depends on your VPS specs, how chart-heavy each EA is, and how many symbols you're monitoring. A more useful question is whether you can still review every EA's logs and open trades properly each day. If you can't keep up with monitoring, you already have too many.
- Does a VPS improve my trading edge?
- A VPS improves execution reliability and consistency of order timing versus a home connection — it doesn't create edge. A strategy with no genuine statistical advantage will still lose money on a VPS, just more reliably and with an added monthly hosting cost.
- How do I know if VPS and EA costs are worth it?
- Track your live backtested or forward-tested results against actual costs: VPS fees, EA licences, spread, commission and swap. PipTax's cost tool at /audit.html lets you see how these costs stack up against your expected edge before you commit capital.