Installing Zorro on a Cloud Server

When installing Zorro on your home PC or on a remote server, please observe the following rules:

VPS installation

For live trading, it has several advantages to run Zorro not at home, but on a virtual private server (VPS) hosted by a commercial service provider. You'll have a fast and reliable online connection to the broker, regardless how bad your internet is at home, and can access Zorro from anywhere. VPS are available from many providers for a small fee, like $20 or $30 per month. It's recommended to select a large and reliable company, like 1&1, Google, or Amazon, for hosting a trading VPS. Amazon offers its EC2™ servers even free during the first year. The setup of a VPS is not totally trivial to a beginner, so we're offering a VPS installation service on the download page. If you want to do it yourself, here are the basic steps for setting up an Amazon VPS:

Make sure that the time and the time zone of the VPS is set up correctly. It does not matter which time zone - you can either use your PC's time zone, or the VPS time zone, or any other time zone - but the VPS time must match the zone. If it is wrong, Zorro will display a wrong UTC time in the server window, and strategies based on market open and close times - such as gap trading - won't work anymore. If in doubt, set the VPS to the same time and time zone of your PC at home.

Running multiple Zorros

If one Zorro is good, many Zorros are even better. The free Zorro version can trade with one broker and one account only. But Zorro S allows to run many Zorro instances simultaneously with different scripts, brokers, and accounts (for details about setting up multiple connections, see Account List). How many Zorro instances can run at the same time depends on the broker API, the Internet bandwidth, and the PC resources (speed and memory). As an example, a Amazon EC2 Micro Instance can support about 4 Zorro instances with a normal broker connection, or up to 2 instances with a MTR4 connection.

If the parallel trading Zorros use different broker APIs, you can set the NOLOCK flag for speeding up API access. Otherwise a synchronization mechanism lets any Zorro wait with accessing the broker API until other Zorros have finished their API access.

Surviving reboots

Rebooting a trading PC should be avoided, but if it still happens, the trading session should be automatically resumed when the PC restarts. Here's the procedure - you'll need Zorro S since the free version does not fully support command lines:

START /D "C:\Program Files (x86)\Global Prime - MetaTrader 4" Terminal.exe
TIMEOUT 25
START Zorro.exe -trade MyStrategy -stay

The startup.bat file will then be executed at any reboot. Depending on the Windows version, the Startup folder can be different - on older versions it's named Autostart and you can edit it with msconfig. On Windows Server, open Administrative Tools / Task Scheduler and enter the task with the properties "Start a program" / "When the computer starts".

Observing your trade status in a web browser

It is recommended that you regularly observe Zorro's trade list, profit status, and messages on your PC or smartphone. For this purpose, Zorro displays the trade status and the message window permanently on a website that's updated once per minute. The tricky part is to make that page visible on the Internet. Here's the instruction for Amazon EC2 with Windows Server 2012 / 2016 (similar for Google Cloud instances):

Running Zorro as a trade signal provider

This is for Zorro S users only, as the free Zorro license does not permit providing trade signals. Some trade copy services such as ZuluTrade™ offer a free VPS for their signal providers. The VPS is already configured, completely with MTR4, but it's a little tricky to copy Zorro onto it. Here's the procedure for ZuluTrade, step by step:

When you provide signals, please play fair in the interest of your followers. Do not use martingale or similar methods, even though this might attract more followers at first. In the end, only the very few signal providers that survive more than one or two years will earn long-term trust and profits.

See also:

 Brokers, Getting Started

► latest version online