The overnight engine: thirteen years of walk-forward stock regimes

By Tradytics Research. Published .

Most stock timing overlays promise to sidestep drawdowns and beat Buy & Hold. In practice, almost every moving-average or trend-indicator system bleeds behind passive ownership across a real multi-decade equity universe, because stepping to cash during pullbacks quietly forfeits the overnight return engine that drives almost all US equity compounding.

To test what actually survives out of sample without leverage, shorting, or hindsight, we audited 2,188,673 daily bars (2008-01 to 2026-11-27) across 563 unique US equities and ETFs (combining 500 Top ADV, 60 survivorship-free 2018-2022 Point-in-Time fallen angels, and 31 macro, sector, volatility, and credit ETFs after deduplicating 28 overlaps), alongside 653,782 dark pool daily rows (2022-2026), 448,871 options flow daily rows, 7,048 earnings dates, 13,172 causal SEC insider filings, and 28,727 live 15:50 / 15:55 ET 1-minute execution audit rows. Every model used strictly purged expanding annual walk-forward folds from 2014 through 2026 (13 full OOS years, 15-25 trading day embargo before every fold), separating 2014-2024 Dev from an untouched 2-year Lockbox (2025-01-01 to 2026-11-27) with all weights and thresholds frozen.

Across 1,174,971 Top-500 stock-days (2014-2024), full-day geometric return of +8.83%/yr splits into just +0.44%/yr (5%) during regular trading hours and +8.39%/yr (95%) overnight (Close -> Next Open). Respecting that overnight physics with strictly macro-free pooled models (Stock DNA v2, pure binary {0, 1}, 0% cash yield, 2 bps/side) produced 13/13 consecutive positive OOS IC years, beat Buy & Hold on 68.9% of stocks over 13Y (55.8% on Return, Sharpe, and Max DD simultaneously), and held 64.1% (64.5% with Alt-Data) in the untouched 2025-2026 Lockbox. For strict Next-Open O[t+1] traders at 5 bps/side, Pure-Equity Sniper DNA cut Lockbox median Max DD from -36.0% to -19.2% (91.9% Beat DD, PF 4.48).

Why 95% of returns live overnight

Legacy production V1_Swing (swing.py) looked reasonable on cherry-picked bull charts, yet our cross-sectional audit exposed a brutal reality: over 2014-2026 (N=489), it beat Buy & Hold total return on only 26.0% of Top-500 stocks (19.6% on Return, Sharpe, and Max DD together; median return +139.7% vs +226.8% B&H). In the untouched 2025-2026 Lockbox (N=493), it beat Buy & Hold on just 32.0% (+12.4% vs +23.5%).

Forensic decomposition pinpointed the exact leak. On the 24% of sessions where V1_Swing sat in cash, those underlying stocks earned +15.90%/yr arithmetic (+8.49%/yr geometric). Five to twelve trading days of stacked Supertrend and double-EMA lag consistently forced exits directly into V-shaped pullback bottoms, right when overnight mean-reversion drift was strongest.

Decomposing all 1,174,971 Top-500 stock-days from 2014-2024 explains why sitting flat is so expensive: full-day geometric compounding of +8.83%/yr comes 95% from Close-to-Next-Open (+8.39%/yr) and only 5% from Open-to-Close (+0.44%/yr).

Thirteen straight out-of-sample years

Stock DNA v2 replaces lagging indicator stacks with strictly macro-free pooled LightGBM trees trained on 106 stock-own features: sector-relative moves, SPY-residual returns, cross-sectional ranks, FFT/Kalman/Hurst/101-Alpha structure, and trailing 252-day stock personality (N_eff = 1.5M+ independent stock-days). Every core head (OPEN_g1, CLOSE_g1, OVN, VOL) posted 13/13 consecutive positive OOS IC years (2014..2026), sorting the cross-section monotonically from -41.1%/yr (Q00-Q05) to +48.3%/yr (Q95-Q100), an 89.4%/yr spread, with zero Lockbox decay (2025 Pre-Close IC +0.0555, 2026 +0.0282) and 4/4 positive years on the Alt-Data residual (+0.0048, +0.0126 Dev; +0.0030, +0.0040 Lockbox; +37% IC lift in 2023-2024).

Window & Strategy (Binary {0, 1}, 0% Cash Yield)CostBeat RetBeat SRBeat DDBeat ALL3Med Ret (B&H)
Full 13Y (N=489): V1_Swing (Prod)2bp26.0%26.6%66.1%19.6%+139.7% (+226.8%)
Full 13Y (N=489): V2_Open_Pure (O[t+1])2bp58.9%60.3%62.6%44.4%+251.9% (+226.8%)
Full 13Y (N=489): V2_Close_Hyst2bp68.9%69.5%69.9%55.8%+251.7% (+227.4%)
Full 13Y (N=489): V2_Close_Pure2bp68.1%68.9%68.3%54.0%+259.6% (+227.4%)
Full 13Y Stress (N=489): V2_Close_Hyst5bp60.3%62.4%66.7%48.7%+235.8% (+227.4%)
Recent 5Y (N=489): V2_Close_Hyst2bp64.6%64.6%62.6%47.9%+48.0% (+37.2%)
Lockbox 2Y (N=493): V1_Swing (Prod)2bp32.0%31.2%63.1%25.6%+12.4% (+23.5%)
Lockbox 2Y (N=493): V2_Open_Pure2bp51.1%52.1%64.7%39.8%+23.5% (+23.5%)
Lockbox 2Y (N=493): V2_Close_Hyst (TO=8.5/yr)2bp64.1%64.3%56.2%44.4%+27.1% (+22.6%)
Lockbox 2Y (N=493): V2_Close_Alt (+DP/Flow)2bp64.5%64.1%56.6%46.0%+27.4% (+22.6%)
Lockbox 2Y Stress (N=493): V2_Close_Alt5bp61.7%60.9%53.8%42.4%+26.3% (+22.6%)
PIT Fallen Angels 13Y (N=58): V2_Close_Pure2bp72.4%63.8%67.2%50.0%+3.0% (-12.0%)
PIT Fallen Angels Lockbox (N=44): V2_Close_Hyst2bp68.2%65.9%65.9%54.5%-12.6% (-20.2%)

Across flagship tickers on V2_Close_Pure (2bp/side), Lockbox and 13Y gains held on SPY (+25.8% vs +22.6% Lockbox; +337.4% vs +291.8% 13Y), QQQ (+32.9% vs +24.2%; +1,102.5% vs +626.4%), NVDA (+49.5% vs +7.9%; +39,454% vs +37,555%), AAPL (+68.7% vs +45.8%; +2,093% vs +1,700%), AVGO (+48.5% vs +29.7%; +8,453% vs +5,614%), and UNH (-19.8% vs -31.4%; +656.5% vs +364.2%), while missing honestly on TSLA (-16.9% vs +0.2% Lockbox; +1,399% vs +3,699% 13Y) and trailing slightly on MSFT in Lockbox (+13.7% vs +17.0%).

Pre-close reality and the ceiling

To prove zero closing-auction lookahead, a live 1-minute audit across 28,727 rows (Top 60 Lockbox tickers) computed all 106 features strictly at 15:50 ET and executed five minutes later at 15:55 ET. Signal correlation with 16:00 close was r = +0.9359 and 15:50 -> 15:55 IC was +0.0563 versus +0.0393 for 16:00 -> 16:00. Under a 2.5x slippage stress test (5 bps/side), beat rates remained above 60% in both Full 13Y (60.3%) and Lockbox (61.7% on V2_Close_Alt).

Enforcing strict Next-Open O[t+1] execution (V2_Open_Pure) drops Beat Return to 58.9% Full 13Y and 51.1% Lockbox (median +23.5% vs +23.5% B&H, still 64.7% Beat DD), confirming that pre-close execution captures the overnight jump. Mathematically, for any causal single-stock rule with net annual alpha and tracking error TE over T years, P(Beat B&H) = Phi((alpha_net / TE) * sqrt(T)): at realistic daily timing IR of 0.25 to 0.35 (4-7 RT/yr, zero leverage), the theoretical ceiling is ~64% over 2 years and ~70% over 13 years, matching our 64.5% Lockbox and 68.9% 13Y numbers.

Pure-equity Sniper DNA

DNA v2 stays 95-97% invested with 1-3 day mean-reversion blips. To solve clean multi-week swing regimes under strict Next-Open O[t+1] execution and 5 bps/side slippage, Pure-Equity Sniper DNA (U5_SniperWave) was trained strictly on 481 pure equities and unlevered equity ETFs (c >= $1.50, zero inverse/vol/bond ETFs). Every Sniper classifier (AUC_u20, AUC_d20, AUC_u40, AUC_d40) and pe_r40 beat random in 13/13 consecutive OOS years, with the top 2-5% long tail averaging +3.2% to +3.95% in 20d (+5.3% to +6.6% in 40d, 66-72% WR).

Window & Universe (U5_SniperWave, O[t+1], 5bp/side)TradesWin %Avg / PFActive Ann (Stock)Med Max DD (Stock)Beat DD
Lockbox 2Y (2025-2026) | Top 500 Pure Eq95661.3%+11.52% / 4.48+27.2% (+19.6%)-19.2% (-36.0%)91.9%
Lockbox 2Y (2025-2026) | Fallen + Retail8556.5%+0.52% / 1.090.0% (+5.4%)-20.5% (-63.1%)100.0%
Recent 5Y (2021-2026) | Top 500 Pure Eq3,03856.2%+5.58% / 2.50+18.4% (+15.2%)-29.9% (-47.1%)91.4%
Recent 5Y (2021-2026) | Fallen + Retail31946.1%-0.76% / 0.89+4.8% (-3.1%)-39.9% (-82.1%)98.4%
Full 13Y (2014-2026) | Top 500 Pure Eq8,14060.0%+4.26% / 2.31+18.4% (+16.9%)-40.8% (-57.4%)87.7%
Full 13Y (2014-2026) | Fallen + Retail81350.4%+1.81% / 1.31+11.3% (+14.9%)-50.1% (-88.0%)95.8%

Companion variant U2_SniperClean achieved 68.1% WR, +9.26% avg trade, PF 4.32, +34.8%/yr active return, +1.01 active Sharpe, and 95.8% Beat DD in Lockbox. Collapse protection highlights on U5_SniperWave include LCID (Lockbox +5.0% vs -91.4%; 5Y +13.2% vs -99.5%, Max DD -23% vs -100%), RIVN (+49.1% vs -12.4%; 5Y +24.5% vs -89.8%), NFLX (+46.2% vs -31.8%; 5Y +222.9% vs -8.8%), AMD (+321.6% vs +249.0%), and COIN (-18.7% vs -58.8%; 5Y +21.3% vs -66.6%), with an honest index tradeoff on steady low-vol SPY (-3.5% vs +24.0% Lockbox; +14.4% vs +57.6% 5Y).

Traps caught and what failed

  • Macro-date effective sample size trap (Killed): Putting global calendar-date macro features (spy_rv60, br_a200, cred_r60, tlt_r60) into 500-stock pooled trees made min_child_samples=1500 equal just 3 calendar days, causing trees to memorize macro dates and invert top-decile OOS returns to -26.8%/yr.
  • 2020 COVID VIX-shield trap (Killed): Adding VIXY/VIXM z60 > 1.9 inflated 2014-2024 Dev to 73.5% beat rate, but ~80% came from dodging one week in March 2020 (-608%/yr annualized on 3.1% of 2020 days). In Lockbox 2025-2026 it dropped V2_Close from 64.1% down to 49.9% (46.6% over 5Y).
  • Levered conviction sizing (Killed): Testing 0x / 0.5x / 1.0x / 1.5x with BIL + 100bp/yr borrow pushed turnover to 25-57x/yr, collapsed Beat DD to 20-35%, and cut PIT Fallen Angels to 38-49%.
  • Pure-equity shorting (Killed): Across 7 short architectures on 481 pure equities without inverse ETFs, every short leg had negative expectancy (34-37% WR, -3.5% to -6.1% avg trade, PF 0.62-0.68). Cash Avoid replaced every short leg.
  • Disclosure: Tradytics operates Stock DNA analytics and licenses historical equity bars, dark pool, options flow, and SEC disclosure datasets via REST API and MCP. Walk-forward backtests reflect historical data and do not guarantee future performance.

Querying the archive

Split-adjusted daily equity bars, daily dark pool aggregates, options flow timelines, and causal SEC Form 4 insider filings are available directly through the Tradytics REST API and remote MCP server (https://tradytics.com/mcp).

import requests

API_KEY = "YOUR_TRADYTICS_API_KEY"
BASE = "https://tradytics.com/api/public/v1"

# 1. Pull split-adjusted daily bars to decompose RTH (O->C) vs Overnight (C->O)
bars = requests.get(
    f"{BASE}/stocks/bars",
    params={"symbol": "NVDA", "timeframe": "1d", "from": "2025-01-01", "to": "2026-11-27", "limit": 500, "apiKey": API_KEY},
).json()["data"]

# 2. Pull daily dark pool totals and options flow timeline for Alt-Data residuals
dp = requests.get(
    f"{BASE}/darkpool/daily",
    params={"symbol": "NVDA", "from": "2025-01-01", "to": "2026-11-27", "limit": 500, "apiKey": API_KEY},
).json()["data"]
flow = requests.get(
    f"{BASE}/options/flow/timeline",
    params={"symbol": "NVDA", "interval": "1d", "from": "2025-01-01", "to": "2026-11-27", "apiKey": API_KEY},
).json()["data"]

# 3. Pull causal SEC Form 4 insider filings (filed_at timestamped)
insiders = requests.get(
    f"{BASE}/disclosures/insiders",
    params={"symbol": "NVDA", "from": "2025-01-01", "to": "2026-11-27", "limit": 100, "apiKey": API_KEY},
).json()["data"]

print(len(bars), "daily bars,", len(dp), "DP days,", len(flow), "flow days,", len(insiders), "insider filings")

Citation

Tradytics Research, "The overnight engine: thirteen years of walk-forward stock regimes", Tradytics Studies, Nov 2026. URL: https://tradytics.com/studies/the-overnight-engine