Navigation: Realtest Script Language > Script Sections >

Settings Sections





These sections define all of the settings that can be applied when running a script.

Some of these can also be set manually using the Settings Panel, but many of them can only be set using this script syntax.

For example, the scan example in the previous topic could be made to explicitly use a specific data file and only scan the most recent bar:


You could even add an Import section to the same script, so that a single script would run your daily data import and candidate list generation.

These items are supported in the ScanSettings section:

These Items are supported in the TestSettings section:

For the settings that correspond to drop-down lists in the settings panel, the choices are the same as the list contents except without the spaces.

Editor auto-completion will type them correctly for you:

Note that settings specified in a script are applied to the settings panel only while the script is running. When the run has finished, the former contents of the panel are restored. The only exception to this rule is the DataFile setting, since it's important to keep the same data file used to run a test or scan in memory after the run finishes, for purposes such as looking at trade charts.





Copyright © 2020-2023 Systematic Solutions, LLC