VPS for Trading: Keeping Your Platform Running
By Chad Smith, Director of Research & Analysis · Updated
On this page
In this lesson you will learn
- Explain what a virtual private server is and why traders use one
- Decide whether your trading style needs a VPS
- Describe latency and why server location matters
- Set up and secure a VPS for a trading platform
The algo trading lesson noted that Expert Advisors stop working when your computer does. This lesson explains the common solution, a virtual private server (VPS). You will learn what a VPS is, who needs one, how latency works, and how to set one up and keep it secure.
What a VPS is
A virtual private server is a remote computer, running in a data center, that you rent and control over the internet. It runs all the time, with a stable power supply and internet connection. You log in from your own computer, install your trading platform on it, and leave it running.
For traders, a VPS solves one problem: keeping the platform and any tools that run on it working when your own computer is off, asleep or offline.
Who needs a VPS
Whether you need a VPS depends on which of your tools run on your own device. As the orders lesson explained, normal stop-losses, take-profits and pending orders are usually held on the broker's server and work without your platform. Tools that run on your device are different.
You may benefit from a VPS if you:
- run Expert Advisors, cBots or other automated strategies
- rely on client-side features, such as the MT4 trailing stop
- use trade copier software that copies trades between accounts
- run scripts that manage trades, for example closing positions at a set time
- trade short-term strategies where order speed matters
You probably do not need a VPS if you trade manually, place server-side stops and targets on every trade, and do not use automated tools.
Latency and location
Latency is the time it takes for an order to travel from your platform to the broker's server and for the response to come back. It is usually measured in milliseconds (ms).
Latency depends largely on physical distance and network quality. A home computer far from the broker's server may have a much higher latency than a VPS in the same data center region as the broker.
Worked example (illustrative numbers): a trader at home has a latency of 150 ms to the broker's server. A VPS in the same region as the server has a latency of 2 ms. For a swing trader, the difference does not matter: a fraction of a second has little effect on a trade held for days. For a scalping strategy that targets a few pips, faster execution can reduce slippage on market orders, because the price has less time to move before the order arrives.
Lower latency helps, but it does not remove slippage or requotes caused by fast markets or the broker's execution model.
Broker VPS versus your own
There are two common ways to get a VPS:
- Through the broker. Some brokers offer a VPS, sometimes free if you meet trading volume or balance conditions, and sometimes for a monthly fee. These are often located near the broker's servers.
- From a VPS provider. You rent a server directly, choosing its location, power and operating system. Some providers specialize in trading.
MetaTrader also offers a built-in hosting service from the platform menu, which can run EAs and signals on a remote server for a fee. It is simpler to set up but more limited than a full VPS.
What to look for
| Factor | What to check |
|---|---|
| Location | Close to your broker's trading servers |
| Reliability | Stated uptime and backup power |
| Resources | Enough memory and processing for your platforms |
| Operating system | Windows for most MetaTrader and cTrader setups |
| Support | Help available when something breaks |
| Cost | Monthly fee compared with your trading size |
In words: choose a VPS close to your broker's servers, with good reliability and enough memory for the number of platforms you run, usually on Windows, with support you can reach and a cost that makes sense for your account.
Worked example (illustrative numbers): a VPS costs 25 US dollars a month, or 300 US dollars a year. On a 2,000 US dollar account, that is 15% of the account each year before any trading cost. The VPS has to add real value to justify that cost. On a larger account, the same fee is a smaller share.
Setting up a VPS
The general steps:
- Rent the VPS and receive the login details.
- Connect using remote desktop software from your computer.
- Install your trading platform from the broker's official website.
- Log in to your trading account and copy over your EAs, indicators and templates.
- Attach your EAs to the correct charts and enable automated trading.
- Disconnect from the remote desktop without closing the platform. The platform keeps running.
Check the platform from time to time to make sure the EA is still active and connected, and that the VPS has not restarted for updates.
Security
A VPS runs your trading account, so protect it:
- use a strong, unique password and change default settings
- turn on two-factor authentication for the VPS provider account
- keep the operating system and platform updated
- install only the software you need
- do not store unnecessary personal files on the VPS
- download platforms and tools only from official sources
Common problems
- Platform closed after a restart. Set the platform to start automatically, or check after scheduled updates.
- Not enough memory. Running too many platforms can slow or crash the VPS.
- Wrong time zone settings. EAs that trade at set times may need the correct server time.
- Forgetting to monitor. A VPS reduces technical risk, but it does not watch the strategy for you.
Key takeaways
- A VPS is a rented remote computer that keeps your platform running at all times.
- You need one mainly for EAs, copiers and client-side tools, not for manual trading with server-side stops.
- Latency is the order travel time; a VPS near the broker's server lowers it.
- Compare the VPS cost with your account size, and choose a location close to your broker.
- Secure the VPS, keep it updated and check that your tools are still running.
Check your understanding
1. What is the main reason traders use a VPS?
- A. To lower spreads
- B. To keep a platform and its automated tools running all the time
- C. To avoid regulation
- D. To increase leverage
Show answer
B. To keep a platform and its automated tools running all the time
2. Does a manual swing trader who only uses normal server-side stops usually need a VPS?
- A. Yes, always
- B. Usually not, because server-side orders work without the platform open
- C. Only on Mondays
- D. Only for stocks
Show answer
B. Usually not, because server-side orders work without the platform open
3. What is latency?
- A. The time it takes for an order to travel to the broker's server and back
- B. The size of the spread
- C. The number of open trades
- D. The margin level
Show answer
A. The time it takes for an order to travel to the broker's server and back
Where to practice this
Put this into practice on a demo account first, with no money at risk.
- Featured broker
Pepperstone4.7 / 5Visit
IC Markets4.9 / 5Visit
GO Markets4.8 / 5Visit