Navigation: Realtest Script Language > Syntax Element Details > #Median Category Cross-Sectional Functions Description For each date, evaluates a formula and calculates the median value for all symbols on that date. Example Notes If the formula result is nan (not a number -- unable to calculate) then that stock is not included in the count from which the median is derived. Copyright © 2020-2025 Systematic Solutions, LLC