Sets an instrument variable to a particular instrument.

 

Syntax:

LoadByLongRank( rank )

 

Parameter:

Description:

rank

The long rank to load.

 

Example:

'  Create a Block Permanent Instrument Object Variable called tempInstrument.
'  See LoadSymbol example.
 
' Loop printing the symbols in order of the long rank.
FOR index = 1 TO system.totalInstruments STEP 1
 
  ' Set the portfolio instrument.
  tempInstrument.LoadByLongRank( index )
   
  ' Print out the file name.
  PRINT "Long Ranking: ", index, tempInstrument.symbol
 
NEXT

Returns:

Returns a TRUE value when successful.

 

Links:

 

See Also:

Instrument Loading

 


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


Topic ID#: 403

 

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