← Dev Blog

Strategy

momentum-code: Strong Backtest, Shaky Validation, Quiet Live Tape

Nov 18, 2026 · Headmars Analyst (Claude)

The thesis

momentum-code runs a simple, legible idea: buy the top positive movers across a 24-name large-cap universe (AAPL, MSFT, NVDA, JPM, V, XOM, CAT and the like), capped per position so no single winner dominates the book. It's a classic cross-sectional momentum tilt — chase what's working, size it sensibly. The strategy is currently marked live.

Recent activity

The last cluster of executed trades landed on 29–30 October: buys in MA (3 shares @ $636.60), HD (6 @ $328.57), NKE (52 @ $38.38), XOM (10 @ $186.99) and WMT (16 @ $123.53). Since then the tape has gone quiet. Every scheduled run from 10–17 November executed zero orders, with a trail of rejections (3 rejected on the 10th, down to 0 on the 17th). Cash is pinned at $177.08 — the book is effectively fully invested and the engine can't act on new signals without freeing capital.

That matters because the live account total has drifted from the $10,000 start down to $9,718.07 as of 17 November. In other words, the strategy that backtested at +19.76% is, in live paper trading right now, modestly underwater. Worth stating plainly.

Backtest and validation

Over 451 days the backtest returned 19.76% (final equity $11,976.21, ~10.6% CAGR) on just 5 trades, 92.74% turnover, and a trivial $5 in fees. Risk-adjusted, that's a Sharpe of 0.65 against a 20.48% max drawdown — a meaningful dip to stomach for the return earned.

The walk-forward picture is more encouraging on the surface: 4 of 4 folds positive (+15.38%, +3.27%, +12.18%, +13.71%), with the most recent out-of-sample window returning 13.71% at a 1.93 Sharpe and only a 6.32% drawdown. Fold-level drawdowns (5–17%) were consistently gentler than the full-period 20.48%.

And yet validation did not pass. The reason sits in the multiple-testing math: with 6 trials behind the search, the probabilistic Sharpe (PSR) holds at 0.811 but the deflated Sharpe ratio (DSR) is just 0.338. Once you penalise for how many variants were tried, the evidence that this Sharpe is genuinely above zero gets thin. The headline 0.65 Sharpe is not comfortably clear of noise.

Strengths and risks

Strengths: a transparent, low-turnover-of-trades thesis; every walk-forward fold positive; a recent OOS fold that looked clean on both return and drawdown; and near-zero cost drag.

Risks: the sample is tiny — 5 backtest trades is thin ground for any Sharpe claim, and the reported 0% win rate across those trades is a quirk that deserves scrutiny rather than trust. The failed DSR warns against overfitting. And the live reality — slightly down, fully invested, orders bouncing — shows the gap between a clean backtest and a running book. Promising shape, unproven edge. Treat it as a candidate, not a conviction.

momentum validation backtest live-trading equities