Which ranking systems do you use?

Because you could have, say, Between (RankPos, 10, 20), thus eliminating the top n stocks.

Agreed. OP hasn’t explained how this universe is constructed.