Navigation: Realtest Script Language > Syntax Element Details >

#PercentRank

 

 

 

 

Category

Cross-Sectional Functions

Description

For each date, evaluates a formula and then calculates the percent rank of each symbol's value among all symbols on that date.

Notes

The largest value will have a percent rank of 100, the lowest value 0, and the others will be distributed evenly between those extremes.

Example

Notes

If the formula result is nan (not a number -- unable to calculate) then that stock is not included in the ranking list (reducing the total count) and its rank value would be nan as well.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC