Sets an instrument variable to a particular instrument.

 

Syntax:

LoadByShortRank( rank )

 

Parameter:

Description:

rank

The short rank to load.

 

Example:

'  Create a Block Permanent Instrument Object Variable called tempInstrument.
'  See LoadSymbol example.

 

' Loop printing the symbols in order of the short rank.
FOR index = 1 TO system.totalInstruments STEP 1
 
  ' Set the portfolio instrument.
  tempInstrument.LoadByShortRank( index )
   
  ' Print out the file name.
  PRINT "Short Ranking: ", index, tempInstrument.symbol
 
NEXT

Returns:

Returns a TRUE value when successful.

 

Links:

 

See Also:

Instrument Loading

 


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


Topic ID#: 404

 

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