Ranking System with InList() or Universe()

Hi P123

I am trying to create a ranking system that weighs certain stocks higher if they are in a certain list of stocks or in a certain custom universe. I receive the message that InList(“…”) is not allowed in a ranking system.

Why is this? The InList() function is nothing else than Ticker(), so if Ticker() is allowed, so should InList() because it will make it simpler.
Or how can I achieve my goal?

Best regards,
whotookmynickname

Ranking systems don’t have universes, per se, and so they can’t use either Ticker or InList, which return the intersection of the universe and the list.

Try this in a screen:

SetVar(@rank,Eval(InList("example list"),Rating("Ranking system if it's in example list"),Rating("Ranking system if it's not in example list")))
@rank>75

That should result in the top 25% according to two ranking systems designed for each condition, I’d think. (I’d also consider using Max or Min instead of Eval.)

We could easily support InList in ranking systems. Custom universe support is much harder to add

Marco, supporting InList in ranking systems would be great!
Paul, Ticker() actually works in ranking systems even though it is not listed in the Reference.

Thank you both of you for responding to my question.