Alternate System Object is used when referencing another system that is in the same suite.

 

 

Example - Alternate System Access:

' Loop over the systems in the test.
FOR systemindex = 1 TO test.systemCount
 
  ' Set the alternate system by index.
  test.SetAlternateSystem( systemIndex )
 
  ' Print each system name and available equity
  PRINT systemIndex, alternateSystem.name, alternateSystem.totalEquity
NEXT

Return - Alternate System Access:

Out will display the system's suite index, its system-name, and its total-equity amount.

 

See the topic: AlternateBroker Object for an example of how it is used.

 

Links:

systemCount, AlternateBroker Object, test.SetAlternateSystem

See Also:

 

 


Edit Time: 9/13/2020 3:42:45 PM


Topic ID#: 149

 

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