Regardless of whether the test was run using Run Simulation or Generate Orders, you can set whether the test will generate orders or not. Set to true to generate orders for this test, set to false to run a normal backtest. By default this is set by which button was pressed to invoke the simulation.

 

Generally this function is used in the Before Test script.

 

Useful if an order generation run requires a couple of stepped test runs prior to the order generation run.

 

Syntax:

test.SetGeneratingOrders( True/False )

 

Parameter:

Description:

True/False

True Enables Orders, False disables orders

 

Example:

'  Disable order generation

test.SetGeneratingOrders( FALSE )

Returns:

<None>

 

Links:

 

See Also:

 

 


Edit Time: 9/25/2017 09:09:54 AM


Topic ID#: 545

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software