Zorro can be started directly with a script from an external program, a shortcut, or a Windows command shell, like this:
"C:\Users\YourName\Zorro\Zorro.exe" [scriptname] [options]
If a script name is given, Zorro will open and start it, and exit afterwards. scriptname (without blanks, special characters, or extension ".c" or ".x") must be an existing script in the Strategy folder (subfolders are not supported through the command line). While the script is running, the COMMAND status flag is set to indicate that it's run from the command line. Several Zorro functions use this way to start other Zorro processes, for instance multicore training, retraining, or retesting. External tools, like the genetic optimizer, also use the command line.
You can give a command line option either directly in the Windows command prompt, or with the Windows [Run] function, or by editing the properties of a Zorro shortcut. For this, right click the shortcut icon and select Properties (for icons in the Win7 task bar you need to hold the [Shift] key). Under the shortcut tab you'll see the Target field containing the exact location of Zorro.exe within quotation marks. Add command line options, such as '-diag', after the last quotation mark, and save the modified shortcut with [Apply].
Besides the script name, the following command line options can be given (Zorro S only):
"c:\program files\Zorro\Zorro.exe" -train Z3
Starts a re-training run with the Z3 strategy.
"c:\program files\Zorro\Zorro.exe" -run pricedownload -a USD/CAD
Runs the script pricedownload.c with the selected asset "USD/CAD" in test mode.
"c:\program files\Zorro\Zorro.exe" -diag
Starts Zorro in diagnostics mode. A file diag.txt is generated in the Log folder.
► latest version online