tab7-metrics-v1 · Effective 2026-12-02 · Q05
Where does a metric stand within its own prior history?
A percentile ranks observations. It is not a probability of loss.
Portfolio relevance
Places a reading in context before the portfolio interprets it.
Definition
100 · [#(xₛ<xₜ)+0.5·#(xₛ=xₜ)] / n
xₜ is today’s value. xₛ are earlier valid values. n is their count.
Inputs and estimator
One unchanged metric definition and universe. Trailing 756 exchange sessions, excluding today, with at least 252 valid observations. Exact midranks for ties. Null when coverage falls below the threshold.
Units: rank from 0 to 100.
Worked example
Synthetic history [1, 2, 2, 4] gives 2 the 50th percentile.
Limits
Different definitions or universes require separate reference distributions.
Empirical evidence
Untested as a forecast. Numerical fixture checks verify calculations. A historical comparison and held-out prediction test are pending.
Implementation: quant/metrics.py · prior_ranks.
Sources and coverage: Tiingo EOD and the sector fund audit. Validation protocol.
Mean sector correlation · Benchmark drawdown · Market Archetypes · Deep Dives