A simple fundamental rule can look excellent in a backtest and still fail a real holdout. I recently finished a point-in-time audit of an un-tuned SEC EDGAR expectations-gap screen on 28 live US stocks. In the pre-2023 training window, the rule looked strong. On filings from 2023 onward, it did not hold up.
Every figure below was recomputed from a local as-filed quarterly panel built from official SEC EDGAR companyfacts and cached daily prices on 26 November 2026 (America/New_York). This is a research write-up, not investment advice, and not a signal feed.
The leak that naive tests miss
A 10-Q or 10-K is not available on the fiscal period end date. If a test enters on period end, or treats a later restatement as if it had been known then, it is using numbers the market had not seen.
In this panel, every one of the 1,478 as-filed quarterly rows has a positive lag between period end and the SEC filed date. The shortest lag is 16 days. The GE Aerospace 10-Q for the period ended 2026-06-30 was filed on 2026-07-16 (accession 0000040545-26-000049, checked against the raw companyfacts file). The test enters on 2026-07-17, the first trading day after the filing. The median lag in the panel is 32 days, and 935 rows (63.3%) lag by 30 days or more.
The point-in-time rule is strict:
- Stamp every observation by the SEC
fileddate, never the periodenddate. - Build trailing returns from the last close on or before
filed. - Enter on the first trading day strictly after
filed, close-to-close versus SPY. - Look up year-ago comparables only from facts that had already been filed.
A pytest audit of the real panel passed 4 tests. 100% of the 1,478 rows satisfy entry_date > filed_date, and the trailing 6-month and 12-month lookback dates are on or before the filed date.
Here is the core invariant in code:
from datetime import date
def pit_row_ok(filed_date: date, entry_date: date, trail_asof: date) -> bool:
"""A point-in-time row may not enter on or before the SEC filed date,
and trailing prices may not use a close after that filed date."""
if entry_date <= filed_date:
return False
if trail_asof > filed_date:
return False
return True
# GE 10-Q: period ended 2026-06-30, filed 2026-07-16, enter 2026-07-17.
assert pit_row_ok(
filed_date=date(2026, 7, 16),
entry_date=date(2026, 7, 17),
trail_asof=date(2026, 7, 16),
)
The un-tuned rule
The universe is 28 live US equity tickers, plus SPY as the benchmark, with as-filed quarterly rows from 2009-07-22 to 2026-11-03. This is a live-ticker prototype. Delisted, acquired, or bankrupt names are not included, so a backtest can look too good. Coverage is also shorter for some names, including CEG (17 quarters), XOM (28 quarterly as-filed rows from 2018-05-03), DIS (30), and VRT (31). 27 rows are missing a trailing 12-month return because there was not enough price history.
A row is an expectations-gap candidate when both of these hold:
- Operational inflection: revenue year-over-year growth acceleration is greater than 0, or operating-margin year-over-year change is greater than 0 (or both).
- Price not already extended: trailing 12-month excess return versus SPY is less than or equal to 0.
The numeric score adds one point for each of acceleration, margin expansion, and a non-extended trailing relative price. No parameter was tuned on the train or held-out sample.
That screen produced 286 candidate rows: 204 filed on or before 2022-12-31 (train) and 82 filed on or after 2023-01-01 (holdout). Forward excess is the stock close-to-close return minus the SPY close-to-close return over 63, 126, 252, or 504 trading days. Held-out sample sizes shrink at longer horizons because some 2023+ filings have not finished the window, or a close was not available on the exact calendar date. In the full 1,478-row panel, forward excess is missing on 21, 45, 78, and 164 rows at those four horizons.
What the holdout showed
If I had published only the combined sample, the 12-month mean excess versus SPY would have been +11.04% with a 57.89% hit rate (N=266). That mixes the training window with the holdout. The holdout is the test that matters.
Train (filed on or before 2022-12-31), N=204 at every horizon:
| Horizon | N | Hit rate | Mean excess vs SPY | Median excess vs SPY | t-stat | p-value |
|---|---|---|---|---|---|---|
| 3m (63d) | 204 | 53.92% | +3.01% | +1.20% | 3.506 | 0.0006 |
| 6m (126d) | 204 | 56.37% | +5.65% | +3.55% | 4.023 | 0.0001 |
| 12m (252d) | 204 | 65.20% | +11.65% | +8.23% | 4.719 | < 0.0001 |
| 24m (504d) | 204 | 62.75% | +23.51% | +11.80% | 4.331 | < 0.0001 |
Holdout (filed on or after 2023-01-01):
| Horizon | N | Hit rate | Mean excess vs SPY | Median excess vs SPY | t-stat | p-value |
|---|---|---|---|---|---|---|
| 3m (63d) | 75 | 45.33% | -0.64% | -4.07% | -0.308 | 0.7592 |
| 6m (126d) | 69 | 44.93% | +1.59% | -0.76% | 0.499 | 0.6196 |
| 12m (252d) | 62 | 33.87% | +9.03% | -11.53% | 0.993 | 0.3246 |
| 24m (504d) | 36 | 22.22% | -21.66% | -28.43% | -2.467 | 0.0187 |
The train 12-month and 24-month p-values shown as < 0.0001 are 4.42e-06 and 2.34e-05.
The un-tuned rule looks strong in the pre-2023 sample. It does not hold up out of sample. Held-out hit rates are below 50% at every horizon. At 12 months the held-out mean is pulled up by a right tail while the median is -11.53% and the hit rate is only 33.87%. At 24 months the held-out mean is -21.66% (N=36, t=-2.467).
Two caveats apply to every t-stat. First, quarterly filings for the same name produce overlapping holding periods, especially at 12 and 24 months, so a simple one-sample t-stat overstates significance. Second, the universe still excludes delisted names.
This phase therefore demonstrates a working, auditable point-in-time pipeline. It does not demonstrate a validated expectations-gap edge. That is the correct outcome to log, not a result to dress up.
Past tests, even careful ones, can fail later. None of the names or filings mentioned here is a recommendation to trade.
The longer write-up, including the full train and holdout tables, is on the Holdout Kit site: https://holdoutkit.com/case-study-edgar.html.
A small, zero-dependency self-check script that flags look-ahead leakage, missing timestamps, train/holdout overlap, and duplicate keys is at https://github.com/egnaro9/pit-selfcheck. It is a first-pass hygiene check, not a full holdout study.
If you want the same kind of look-ahead and holdout audit run on a strategy you already have, Holdout Kit is the written report I use for that work.
Top comments (0)