Navigation: Realtest Script Language > Syntax Element Details >

OrdersFile

 

 

 

 

Category

Settings or OrderSettings or Strategy Elements

Description

Path and name of the order list file to create when generating orders.

Notes

If OrdersFile is not specified then the default path is c:\RealTest\Output\Orders (assuming RealTest is installed in c:\RealTest) and the default file is script_date_orders.txt (where script is the current script name and date is the order date).

When OrdersMode is anything other than the default Text mode, two orders file are created: script_date_orders.txt and script_date_orders.csv.

When OrdersFile is specified, the file name should end in .txt for the default OrdersMode or in .csv in any other mode.

A settings-level OrdersFile path will override the default and will apply to every strategy in the script that does not provide its own path.

A strategy-level OrdersFile path will override the default and the settings-level path if specified.

See File Path Specification for helpful tips including special path expansion variables.

See OrdersTemplate and CSV Order Baskets for details about CSV order lists.

 

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC