RightEdge - The Ultimate Backtesting and Trading System Development Platform

Automating RightEdge

RightEdge can perform high level tasks by specifying certain parameters on the command line.  The following tasks can be performed on startup.


Open a RightEdge Project file (.rep)
Update historical data for a particular Watchlist folder
Start a live system.
Start collecting live data.
Run a simulation.


The command line options to perform these tasks are listed below.  You can always run RightEdge from the command line with a '/?' parameter to see a summary of the commands as well as a description.




RightEdge.exe /W:"Watchlist Folder Name" [/P:"Project File"] [/L] [/S] [/U] [/E] [/O:"Optimization Inputs File"]



Specifies the Watchlist Folder.  This is a required parameter.


Project File.  Specifies the .rep to load when running a live system or simulation.


Executes a live system using the specified project.  This may not be used with /S.


Will perform a historical data update on the Watchlist folder name specified.


Executes a simulation on the specified watchlist folder using the specified project.


Start live data collection.  Note: This is started automatically if running a live system.


Shut RightEdge down upon task completion.


Specifies an unattended optimization run using the specified file.  (see below for input file format)


Additional notes on command line switches


Optional parameters are in brackets.


Items shown in quotes should contain quotes to ensure that spaces contained the within the parameters are properly accounted for.


If a live system or simulation is not specified and a project file is specified.  The project file will open.  However, a project file is absolutely required if a simulation or live system run is specified.


A project file (.rep) can be specified all by itself on the command with no switches.  RightEdge will start up and simply open this trading system project file.


If running an optimization, the optimization inputs are required on the command line using the /O: option.  The list of parameters can be comma or tab separated but must be in the following order:


Parameter Name, Low, High, Number of Steps.


For example, to specify the optimization inputs for a system that has an optimization parameter named "MyOptVar", the file would look like this:




This would specify that the optimization value starts at 10 and ends at 100 with a step increment of 10.


Order of Operation Evaluation


Project file is opened
Watchlist folder is selected
Historical data is updated
Either a simulation or a live system is run.