GetRankPos in Dynamic Weight rule

Hi all,

I get the following message: Error in Weight Rule 'Weight': In $sma_scores: Ticker BNDX is not a Stock in GetRankPos()

Basically, I run a similated strategy and use a custom formula in the dynamic weighting formula. The custom formula checks the rank of one of the ETF tickers in the universe, or at least that is what I'm hoping to do.

The respective ETF is indeed in the universe I am using. Is it not possible to use GetRankPos in dynamic weight formulas? Is this only available for stocks and not ETFs? Or could something else be going on?

Thanks :slight_smile:

Victor

Wanted to give some additional info, perhaps then someone can help me out.

I use a formula named $sma_scores that has a term like this: eval(GetRankPos("BNDX") <= 4,1,0)

I can run that term in a screener on the same Universe and using the same ranking system as I use in my simulated strategy. If I do that, I get no errors (see below).

Thanks.