LoadByShortRank

Top  Previous  Next

Sets an instrument variable to a particular instrument.

 

Syntax

 

LoadByShortRank( rank )

 

Parameters

rank

 

the short rank to load.

 

Examples

 

Create a Block Permanent Instrument Object Variable called tempInstrument.

 

 

' 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

 

 

 

 

.