Lab notes ·

Why QuantDesk's ranking doesn't predict returns

I backtested QuantDesk's seven-signal stock ranking on four indexes over six years. Nothing survived correcting for the 24 tests I ran, so the app now says so under the ranking.

QuantDesk backtestevaluationnegative result

QuantDesk is a stock research app I built. It reads one company through four separate models (order flow, price trend, intrinsic value and accounting quality) for US and Indonesian listings, and shows where they agree. Its breadth tool, Scan & rank, scores a whole index and sorts it. This note is about that sort, and a test it failed. QuantDesk is research tooling, not investment advice.

How the ranking works

Scan & rank batch-downloads daily prices for up to 250 symbols and scores each one on seven price-and-volume signals. Fundamentals don’t batch, so quality and valuation are a separate step, run on a shortlist.

Signal, and the question it asks Evidence Weight
Momentum
Has it been going up over the past year?
strong 1.0
Versus the index
Has it beaten the market it belongs to?
strong 1.0
Trend
Is the long-run average itself rising?
moderate 0.7
Near its high
Is it close to the best price of the past year?
moderate 0.7
Steadiness
Does it get there without wild swings?
moderate 0.7
Holdability
How painful has owning it been?
weak 0.4
Money flow
Are recent days closing strong on volume?
weak 0.4

Each signal becomes a percentile within the scanned universe, and the composite is a weighted mean of those percentiles. A missing signal isn’t filled with the median; the composite averages the signals that exist. The weights follow the evidence grade, which is a judgement, stated as one.

The panel already reported that the signals overlap: on a Dow scan, momentum and trend correlate at +0.98, and the seven columns carry about 3.4 signals’ worth of information. It never said whether the order predicts anything.

How I tested it

The backtest steps through six years of rebalance dates, starting in August 2020. On each date it ranks the universe using only data available then, and records every name’s return over the next 21, 63 or 126 trading days. Rebalances are one holding period apart, because overlapping windows share days and inflate the t-statistic.

I ran it on the Dow 30 and the Nasdaq-100 (97 of its 99 listed symbols had enough history), and on IDX30 and LQ45 in Indonesia: twelve backtests, each summarised two ways.

  • Information coefficient (IC): the rank correlation, within each period, between a name’s score and its next return, averaged over periods and given a t-statistic.
  • Quintile spread: the top fifth’s mean return minus the bottom fifth’s. Easier to picture, and noisier.

That’s 24 tests, enough to produce a winner by chance, so each statistic gets a Benjamini–Hochberg correction at 10%, as the app’s anomaly screener already does for its scans. Each test also reports the smallest mean IC it would detect four times in five: 2.8 standard deviations over the square root of the number of periods.

Before trusting a null result, I tested the machinery. On synthetic prices where momentum persists, it finds an IC above 0.2 with p below 0.01. On prices with no memory, it finds nothing. And two opposite futures attached to the same history leave the earlier ranking identical, so it isn’t reading ahead.

What it found

Nothing survives the correction. One of the 24 tests cleared the usual 5% cutoff: the IDX30 63-day IC, a mean of +0.097 (t = 2.23, p = 0.037). At 24 tests, about 1.2 would do that by chance, and its corrected q-value is 0.38. No quintile spread cleared 5% even before correction. The closest, also IDX30 at 63 days, put the top fifth ahead by 7.69% per period (p = 0.080).

Dot-and-interval chart of the mean information coefficient for twelve backtests. The US universes sit at or below zero: Dow 30 from −0.087 to +0.002, Nasdaq-100 from −0.048 to −0.002. The Indonesian universes sit above it: IDX30 from +0.052 to +0.104, LQ45 from +0.040 to +0.100. Every 95% interval crosses zero except IDX30 at 63 days, which runs from +0.006 to +0.188 and does not survive correction (q = 0.38).
Mean information coefficient for each backtest, with a 95% interval worked out from the mean, standard deviation and number of periods. The dashed line is my 0.03 bar for a useful edge. Only one interval clears zero, and only before correcting for running 24 tests. Source: QuantDesk's recorded backtest, measured 23 August 2026.

The two markets lean opposite ways. US mean ICs are at or below zero apart from the Dow at 126 days (+0.002), and the Indonesian ones are positive at every horizon (+0.040 to +0.104). But only that one IDX30 interval clears zero, so neither lean is a finding.

All twelve results as a table
Universe Hold Periods Mean IC p q Detectable IC Top − bottom fifth
Dow 30 21d 71 −0.036 0.256 0.38 0.088 −0.98%
Dow 30 63d 23 −0.087 0.171 0.38 0.172 −2.48%
Dow 30 126d 11 +0.002 0.982 0.98 0.194 −0.56%
Nasdaq-100 21d 71 −0.002 0.935 0.98 0.077 −0.11%
Nasdaq-100 63d 23 −0.033 0.545 0.65 0.152 −1.91%
Nasdaq-100 126d 11 −0.048 0.500 0.65 0.194 −4.57%
IDX30 21d 68 +0.052 0.176 0.38 0.107 +0.75%
IDX30 63d 22 +0.097 0.037 0.38 0.122 +7.69%
IDX30 126d 11 +0.104 0.095 0.38 0.158 +1.12%
LQ45 21d 68 +0.040 0.251 0.38 0.097 −0.48%
LQ45 63d 22 +0.061 0.190 0.38 0.126 +3.78%
LQ45 126d 11 +0.100 0.108 0.38 0.158 +4.92%

The more telling number is the detectable IC: 0.077 at best (Nasdaq-100, 21 days) and 0.194 at worst. I set 0.03 as my bar for a useful edge. So the most sensitive test could only see an edge about two and a half times my bar, and the 126-day tests only one five to six and a half times as large. Hence the app’s wording: “no edge large enough to see here”, not “no edge”.

Why that happens

The sample is small. Six years is 71 non-overlapping periods at 21 days and 11 at 126, and a single period’s IC swings a lot: its standard deviation runs from 0.19 to 0.32 here. Taking my 0.03 bar as the target, the same power formula says that even the steadiest 21-day test, the Nasdaq-100’s, would need about 470 periods to detect it: close to 40 years of prices. Rebalancing more often wouldn’t help, because overlapping periods aren’t new information.

Seven signals are closer to three. Momentum, nearness to the 52-week high and strength against the index all say “it went up”, and together they hold 2.7 of the 4.9 total weight. Averaging them counts one fact several times.

The test is generous anyway. The universes are today’s index members, so every name tested is one that survived. Nothing is deducted for costs, spread or tax. And six years is one path through one market regime. All of that flatters the ranking, and it still found nothing.

What I changed, and what I kept

What I changed:

  • The panel says so. A “Does the ranking work?” section under the table states that these seven signals didn’t predict returns over six years of testing, with the detectable effect and the caveats beside it. It’s below the table rather than above it, so it reads as the conclusion, not a disclaimer to scroll past.
  • Custom ticker lists get no result, rather than borrowing a tested universe’s.
  • Both statistics are corrected. The first version of the script tested only the spread, and would have missed the IDX30 IC at t = +2.23.
  • The finding is dated. It’s measured offline, stored with its date, and has to be re-run after any change to the ranking, because a stale finding on a changed model is worse than none.

What I kept:

  • The ranking and its weights. It still sorts an index so I can open the four lenses on a few names. It just no longer implies the order is a forecast. I haven’t re-tuned the weights, because weights fitted to these six years would be fitted to their noise.
  • The portfolio panel. It’s the one place in the app where a measurement informs position size, so I checked that the measurement lasts. One year’s pairwise correlations rank-correlate 0.50 to 0.65 with the next year’s across four universes, at t-statistics near or above ten. Re-measured on 1 November 2026 with two more months of data, the range is 0.48 to 0.68, at t-statistics from +8.5 to +14.2, so the conclusion holds. That persistence, next to a ranking IC indistinguishable from zero, is what licenses the panel.

The ranking is still a useful sort. It isn’t a forecast, and the app now says so where you’d read it.

How I worked out the derived numbers

Every other number in this note comes straight from the QuantDesk repo: its results file, its code and its README. These four are my arithmetic on that data.

95% intervals (the chart). Each is the mean IC ± t × standard deviation ÷ √periods, where t is the two-sided 95% critical value for periods − 1 degrees of freedom: 2.228 for 11 periods, 2.080 for 22, 2.074 for 23, 1.996 for 68 and 1.994 for 71. For IDX30 at 63 days: 0.0970 ± 2.0796 × 0.2043 ÷ √22 = 0.0970 ± 0.0906, so +0.006 to +0.188. As a cross-check, that is the only interval that excludes zero, and the only test with p below 0.05, which is how the two should line up.

About 470 periods, close to 40 years. The backtest’s detectable IC is 2.8 × standard deviation ÷ √periods; that formula reproduces every detectable figure in the table. Setting it equal to my 0.03 bar and solving for periods gives (2.8 × standard deviation ÷ 0.03)². For the Nasdaq-100 at 21 days, with a standard deviation of 0.2324, that is (2.8 × 0.2324 ÷ 0.03)² = 21.69² ≈ 470 periods. At 21 trading days each, that is about 9,880 trading days, or 39 years at 252 a year. It’s the most favourable 21-day case; the other three need 616 to 869 periods.

Two and a half, and five to six and a half times. 0.0772 ÷ 0.03 ≈ 2.57. At 126 days: 0.158 ÷ 0.03 ≈ 5.3 and 0.194 ÷ 0.03 ≈ 6.5.

2.7 of the 4.9 total weight. Momentum 1.0 + versus the index 1.0 + near its high 0.7 = 2.7, out of 1.0 + 1.0 + 0.7 + 0.7 + 0.7 + 0.4 + 0.4 = 4.9, or 55%. That holds when a name has all seven signals; when one is missing, the weights are renormalised over the signals it has.