When a property does not exist, it becomes undefined. This table shows how undefined values are treated in Equities Lab

OperationResult
5 + or – Undefined5
5 * or / UndefinedUndefined
X > or < or = UndefinedFalse
X != UndefinedTrue for all X
Market Rank/Rank/Percentile of UndefinedUndefined

How to I handle undefined values myself?

If the defaults do not work well for your particular strategy, we recommend using the value of operator, which will take the first defined value in a sequence you supply. For example, the term below will return the market rank if it exists, and 50 otherwise.

What if I want something more complex?

You can also use has and if/else if you want more complex logic in the case where your