Ranking Properties

Top  Previous  Next

The ranking properties can be accessed from anywhere in the system. So if you set the rank in the portfolio manager, you can access that rank in the entry script.

 

The longRank, shortRank, longGroupRank, and shortGroupRank properties are based off the longRankingValue and the ShortRanking Value. The way these get calculated is when the RankingValue is set in the Rank Instruments script, the instruments are then sorted, and then the Rank properties are available in the Filter Porfolio script. If the RankingValue is set anywhere else in the system, the new Rank will not be available until the Portfolio Manager runs again for the next day.

 


 

 

longRankingValue

 

the value used to rank the instrument for long trades

shortRankingValue

 

the value used to rank the instrument for short trades

longRank

 

the rank when sorted by long ranking value

shortRank

 

the rank when sorted by short ranking value

longGroupRank

 

the rank of the instrument within its group when sorted by long ranking value

shortGroupRank

 

the rank of the instrument within its group when sorted by short ranking value