Most back-tests are wrong before the first trade is placed; here’s everything I settled before I let a single result count.
Apologies for some of this content being dry, I just want to make sure that if you take this series in its entirety, you basically have a mini-course in building momentum strategies, and these foundations count. The payload in the article is the full factor bank of 34 momentum factors I tested - yours to test on your own.
Right, welcome back to the series on building rotational momentum strategies.
“The first principle is that you must not fool yourself, and you are the easiest person to fool.” Richard Feynman said that to a room of Caltech graduates in 1974. He wasn’t talking about back-tests, but he might as well have been.
The most efficient self-fooling machine I know is a back-test with a convincing equity curve. It will answer exactly the question I programmed, even when that question has nothing to do with the strategy I thought I was testing.
Before testing the previous post’s predictions, I needed a lab I could trust.
Everything that decides what a result means gets settled before the result exists: data, universe, dates, holdout, costs and test architecture.
Most traps below produce a plausible number, not an error. The software runs, the curve draws, and the answer is wrong unless you went looking first. I know it’s part 4 already, but I want you setup right, or everything else just doesn’t count. Feel free to skip the traps you already know.
1. History, Edited to Remove the Losers
A data feed that holds only today’s index members silently deletes every company that failed, merged or got delisted along the way. Test a strategy on those survivors and the results look spectacular, because you’ve accidentally tested a version of history that was edited to remove the losers. I know you probably know what “survivorship bias” is, but looking at the chart is still informative.
Momentum buys what’s been rising, including future collapses. Removing those companies removes precisely the trades that would have hurt.
Every test in this series runs on Norgate’s current-and-past membership lists: every stock that was ever in the index, survivor or not, Enron, Lehman and WorldCom included. It isn’t the only clean provider, but it’s the one I use and trust.
To show what’s at stake, I ran the same momentum model on the S&P 500 twice over 2000–2020: once with the members at the time, once with today’s 503 members tested back to 2000. Nothing else changed.
Source: the research file, skip-month factor (slow-tilt blend), S&P 500 trend regime, no filters, five positions, weekly rotation, 2000–2020. “Today’s 503” is the current S&P 500 list with no point-in-time membership.
Annual return goes from about 14% to 34%, and MAR (annual return divided by the magnitude of the worst drawdown) roughly doubles. The survivors-only version also has the deeper drawdown: about −62%, against −53% with point-in-time members. It also knows which companies will grow big enough to join the index. This is one model on one universe: the gap illustrates the trap, not a universal penalty.
That’s the line between evidence and fiction, and it’s only the first line. If you can’t afford good data, I’m not sure you’ll be able to build a worthwhile strategy.
Rule: Use survivorship-free data and point-in-time members, not negotiable.
2. You Can’t Know the Members Before the List Exists
Survivorship-free data isn’t enough on its own. You also need to know when each stock was a member, and when that record begins.
Price history isn’t membership history. Norgate’s $SPX price series runs back to 1928, but its point-in-time membership starts in March 1957. Before that date you have an index level and no way of knowing which 500 stocks it contained. Any constituent back-test that starts earlier is invalid, whatever it prints.
The research file’s membership dates:
Source: Norgate constituency and price-series start dates. Pale bars: price history with no known members. Dark bars: point-in-time membership.
This is why the main cross-universe comparisons start in 2000: it is the common start for the base universes. That does not give later additions an earlier membership history; the expanded Nasdaq universe below and the reserved Next Generation universe still need their own dates.
The Nasdaq-100 plus its next 50 names looks like a 150-stock universe, but the next-50 list has no members before October 2007, so a test from 2000 is silently plain Nasdaq-100 for its first seven years. And the three Canadian broad universes are nested inside each other. Run all three and you haven’t tested Canada three times; you’ve counted one market three times.
Sorry to drag this out, but knowing your data is just so important. Simple things can ruin you, even when the code runs correctly. I hope you are seeing the point: these ‘silent errors’ are easy to miss, and you can’t afford that.
The 20 universes cluster into roughly five blocs: Nasdaq, S&P, US mid caps, Canada and Australia. Repetition across overlapping lists is not 20 independent confirmations.
Rule: Respect membership start dates and count the members after every import.
3. The Index That Quoted for Fourteen Years Without a Range
The Russell Top 200 index has a price series from 1995. But until 23 June 2009, every bar has the same high, low and close. There’s no intraday range at all. The S&P 1500 has the same problem until 2004.
Source: Norgate daily index data, share of bars each year where the high equals the low.
Any market regime (a condition allowing entries) that uses a range—average true range (ATR), a Keltner channel or another high/low measure— means something different on those indexes for most of their history. With flat bars the true range falls back to the close-to-close move. One parameter, two definitions, inside one sample. Close-only regimes are unaffected, so the research file gates those two universes on the S&P 500 index instead.
I’d love to say I only learned this from reading the data. In the first sweep of the latest round those regimes were still reading their own flat-bar indexes; the data audit caught it, and it’s recorded as a caveat on the first-round results.
A sibling trap: a series that starts late. The VIX-versus-VIX3M term structure (shorter- versus longer-term expected volatility) is a popular regime input, but $VIX3M begins in January 2002, and a gate (an entry filter) with no value never passes. So a strategy gated on it doesn’t trade before 2003: an early history of zero trades that flatters the drawdown and removes the whole dot-com bear market from the regime’s test.
Rule: Check what a series actually contains, not just when it starts.
4. The Liquidity Filter That Rewrites History
This one is frequently overlooked. In Australia I counted ASX 101–200 stocks passing a $1 million minimum daily turnover, a reasonable floor for a real account today:
Source: Australian capacity probe, median names per day passing each floor, 1994–2017.
At $1M, a typical day in the late 1990s had about 9 names over the line. In 2000–07 it was about 49, and in 2008–17 about 95.
Same band, same rule, tenfold different coverage. A fixed dollar threshold removes most of the early universe, weighting the test towards recent history. I’ve rarely seen anyone think twice about it.
For large-cap indexes there’s a simpler answer: index membership is the investability screen. A stock that was in the S&P 500 at the time was tradeable at the time. That’s why the research file carries no price or liquidity floor at all. For small caps that choice is thin, and I’ll say so when we get there. Apply liquidity floors, if needed, later.
Rule: Separate factor research from account-specific liquidity floors, and measure what each floor removes.
5. Enough Names to Choose From
A ranking strategy can only rank what survives its filters. Remove enough names and it stops selecting: it holds whatever’s left. The result can look better, because a handful of names concentrates whatever happened to work.
In Australia, at that same $1M floor, the top two hundred names gave a 10-position book plenty to choose from: about 99 eligible names a day in ranks 1–100 and 75 in ranks 101–200. Below that it fell apart: about 9 a day in ranks 201–300 and 5 in ranks 301–500.
Source: Australian capacity probe, median eligible names per day at a $1M floor, 1994–2017. Days when no stock passed count as zero.
Australia’s apparent small-cap momentum edge was a 10-position book choosing from fewer names than it needed to hold. That’s not a factor. It’s owning the band.
Rule: Report eligible names per bar against the position count before interpreting a ranking result.
6. Lock the Holdout Before You Look
A holdout is data reserved for testing after the research choices are fixed. I value it mainly for the shock value: a promising in-sample result failing miserably on unseen data gives you a good slap in the face. Out of sample tests are frequently poor ways of testing robustness though.
For everyday research, I prefer chunking data into blocks: do settings chosen in one carry over to the next? If each needs drastically different settings, the optimum may only describe that period. The holdout supplies a separate, one-shot reality check.
For these initial tests, I fixed the in-sample window at 2000–2020 and put 2021 onwards in a drawer. Every component choice is made on the in-sample years. The holdout gets opened once, against claims written down in advance, and then it is no longer untouched. Keep adjusting the model after looking and it becomes another training set.
The Nasdaq Next Generation 100 supplies another check: its membership starts in August 2020, too late for this project’s fitting window. I’m keeping that universe for one test, once. It would be a whole article to drill into the weaknesses with out of sample testing, but it can have a place.
In a future post you’ll see what it cost me when I opened the drawer on OOS data earlier than I’d planned.
Rule: Reserve the holdout in the data and the scripts, and record every exposure to it.
7. The Test Bench: One Switch at a Time
Change one thing at a time, and keep a control.
“Only use two or three variables in a model” sounds simple, but it ignores choices already locked in: the market, timeframe, universe and even the standard twelve-month lookback contains a switchable variable right. I want to end with simplicity, sure, but search every rabbit hole on the way there. I’ll take whatever level of simplicity the evidence supports; I won’t assume the answer before doing the work. Generally I’ve found in trading that nothing is simple.
So, if there are not just 2 or 3 switches, perhaps 10, and each could take many values, how do you meaningfully search that grid for statistically valid relationships, without over-fitting? This is the primary question, and the only answer I can personally bring to the table is “by treating it as research, not an optimisation problem.”
It’s not the only way. Machine learning experts could easily school me on fancy methods, all of this is just my two cents, for what it’s worth.
So for me this means doing research before ever building a model. Here the first question is whether the momentum factor has a statistically meaningful effect across the universes and configurations under study. So yes, I set up a big grid to establish thousands of potential pathways just to give me evidence I can investigate. The natural place to start with momentum, is the momentum factor selected, and I wanted to know if there were some that stood up across different markets, different regimes, filters, sizing methods and so on. Only then could I move to the next step in the research. This became my ‘pipeline’.
In the early phases I randomly selected 13 regimes, and 21 filters, across weekly and monthly versions, for my 34 factors (in a later test I ran it again on yet another 13 regimes and another 21 gates):
So I ran 34 × 13 × 21 × 2 = 18,564 configurations per universe (20 of them), twice (over 600,000 tests, but it didn’t take that long on a good machine using RealTest). The singular goal was to see if any of my 34 momentum factors held any weight whatsoever. If I didn’t see some things clearly rising to the top across all of this noise, then I was ready to discard momentum as an idea right here, irrespective of what any academic had published.
Member research files share the engine, 20 universes, 34 factors, the regimes, filters and so on. There is also a selection of models this process built within the Algo Collective Strategy Library.
Rule: Change one component at a time, keep a control, and build a logical plan before diving in.
8. The Factor Bank: All Thirty-Four
Here are the 34 momentum factors I tested, grouped into six families. Each row is one complete ranking score, numbered to match Factor1 through Factor34 in the research file. All use daily bars, and a higher score gives a stock a stronger rank.
The lookbacks below are trading days: 63, 126 and 252 are approximately three, six and twelve months. Each row states its own calculation and weights. For example, “63-day value + 2 × 126-day value + 3 × 252-day value” gives the longest lookback three times the coefficient of the shortest; it doesn’t guarantee three times the influence on the ranking. Basically, I included duplicate ideas in a sense - I wanted to test factors ‘as they stood’ and then a ‘weighted version’ meaning, more weight to the longer lookbacks.

Rule: Record each factor’s full calculation, lookbacks and weights, and compare them on the same eligible stocks.
9. The Costs You Charge Decide the History You Can Study
Test without commissions initially if you like. I made sure commissions were modelled per country. Slippage added. The factors in the bank trade anywhere from about two dozen to over 50 round trips a year, so any cost I’m not charging flatters the high-churn end of the rankings.
Idle cash earns nothing in my back-tests so far. That understates cash-heavy models - add it in if you like.
Later in the series: what happens when a 2020s commission schedule charges 1960s trades at discount-broker prices?
Rule: Read turnover and exposure beside returns, and declare every cost the test omits.
Robust by Design: The Lab Notebook
Fill this in before the first result. Every conclusion inherits it.
Survivorship. Does the data retain failed and delisted companies, with members selected as they were at the time?
Membership dates. When does each list begin, which comparisons share a valid start, and do imported member counts check out?
Series content. Do the index and regime inputs contain real ranges and valid values throughout the test?
Investability. What screens the universe, how does it change across eras, and which account-specific floors belong later?
Capacity. How many eligible names remain per bar relative to the position count?
Holdout. Which years and universes are reserved, if any, and what claims will be tested?
Test bench and well-posed comparisons. One change at a time, with a pre registered plan and known pass / fail gates for tests. Making sure you’re asking the right questions of course.
Factor bank. I’ve provided 34, but there are more. Or perhaps I’ve overdone it?
Costs. What is charged, what is omitted, and which results do slippage and uncredited cash interest flatter?
Coming up: the machine running. Close to half a million back-tests, what their distribution can teach us, and why avoiding the best row still doesn’t remove selection bias. Then the coin toss every later ranking had to beat.
Inside the Algo Collective. Core Collective members get two strategy templates and a research file. Alpha members get four single models and two multi-model books, with an even more extensive research file plus brief. These models alone are worth the price of admission, and the library is growing.
The premium Momentum Masterclass is available to anyone: a 60,000-word research brief you can feed to your AI and ask literally everything about the project; shorter briefs; an entire course; five single models and seven multi-model books. Yes, it’s the real deal. Alpha members get 35% off the Momentum Masterclass. We’ll work through the research together as the series runs.
Looking forward to working together,
Simon
These are my own research artefacts and wild opinions. You might find a way to use them to investigate the market and inform your own trading, just remember it’s not advice of any kind. Full disclaimer: https://algoadvantage.io/disclaimer













