|
|
|
SetAlternateOrder( index )
|
|
Sets the alternateOrder object by index. Used when looping over all the open orders. To access the order, use the alternateOrder object. This object acts just like the default order object and has the same properties and functions.
|
RankInstruments
|
|
Virtually ranks the instruments using the defined long and short ranking. Sets the corresponding Long Rank and Short Rank ordinal values based on the Long Ranking Value and Short Ranking Value respectively. Long Rank is highest to lowest, whereas Short Rank is lowest to highest. Only primed markets ready to trade are ranked.
|
Extract( fileName, startDate, endDate )
|
|
Extracts all indicators and IPV Series variable by day and by instrument to a file.
|
SortOrdersBySortValue
|
|
Sorts the open order list by the order sort value, as set into each order by order.SetSortValue. This function should only be used in the Before Order Execution script.
|
SortInstrumentList( method )
|
|
Sorts the physical instrument list that is used for the simulation loop using the method indicated: 1 Sort by Long Rank, 2 Sort by Long Ranking Value, 3 Sort by Original Order Sort Value as set in the dictionary, 4 Sort by Custom Sort Value. All markets are sorted regardless of whether they are primed.
|
SetVirtual (true/false )
|
|
Sets whether the system will be treated as virtual or not. Defaults to false at the beginning of each simulation. If set to virtual, then the results of the system will not be included in the test results.
|