EXPORTPSR

Top  Previous  Next

Keyword Description

Writes a comma delimited file containing the PSR results

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

 

 

 

 

 

Syntax

EXPORTPSR

 

Example

Sample code

..\stocks\My_Stock_System.SIG

EXPORTPSR

nextstep

..\stocks\My_Size_Idea.SIZ

 

ThumbTack white

This is useful for adding results from numerous versions of a system to a file that can then be viewed in Excel for easy multi-system or multi-parameter comparisons.  Once you have added a number of system runs to your .CSV file, open it in Excel and try sorting the spreadsheet on the individual statistics that you most want to examine.

This command can appear anywhere in your batch file.  When Mechanica encounters it you are prompted for a file name. Select the default name if you wish but leave the extension as .CSV.  After the SIZ file (called from your batch file) has completed it's work, a row-wise version of Portfolio Summary Report will have been written to the file you specified along with headings for each column .  Be sure to close the file before adding more runs to it or you will get a file access error for sure.

See also:

Introduction to batch files