LoadByLongRank

Top  Previous  Next

Sets an instrument variable to a particular instrument.

 

Syntax

 

LoadByLongRank( rank )

 

Parameters

rank

 

the long rank to load.

 

Examples

 

Create a Block Permanent Instrument Object Variable called tempInstrument.

 

 

' 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

 

 

 

 

.