In this post you will learn how to determine the latency from your VPS to your broker.
The latency is a measurement that indicates the time a package will take to go from your server to broker’s server and return. This is expressed in ms (miliseconds).
For faster execution of trades, the lowest the latency, the better.
MetaTrader does show you the latency that it currently is under, however that is not a completely accurate measure, as the MetaTrader is a trading platform and not a network measuring tool. This is just an estimate, to determine accurate results, you need accurate tools.
Luckily those are built-in insde the VPS.
Here are the steps on how to do this:
1 – Log into the VPS and make sure that your MetaTrader is open and your trading account is logged in.
2 – Go to the Folder Explorer and navigate to Disk C:\Windows\Scripts .
3 – Run TCPview.exe. Go to Options and untick “Resolve addresses” and “Show Unconnected Endpoints”.
4 – Take notice of the Remote IP and Port of the “terminal.exe” application.
5 – Type Windows Key and type CMD to open the command prompt.
6 – Navigate to C:\Windows\Scripts to do so use the following commands (remember to press enter after each command):
And run this command:
psping.exe -4 -t REMOTEIP:PORT
(replace REMOTEIP with the remote IP from TCPview and PORT with the Port). If a pop up shows up, accept the promp and continue.
7 – Press enter and let it run for a while to get results.
8 – Press Control + C in order to stop it and see the results. (The average result is the latency)
For more details here is a video on how to do this:
If you have any further questions, contact our Customer Care department via Live Chat or Email.