15 / Ventures & FinanceStock Market
EVE: Breakout Strategy with a Regime Shield
A breakout stock strategy with a market-regime shield, researched over 24 years of data and traded live · December 2025 – present
- 2.5 MBacktests run across ten months of research
- 24 yearsOf daily data, 2002 to 2026, including delisted stocks
- −25% vs −55%Worst backtest drawdown with the regime shield on, and off
- 10 monthsOf live trading with real money, still running
Strategy overview
EVE is a long-only strategy for US stocks. It buys shares that break out to a multi-year high on unusually heavy volume after a long quiet period, holds them while the trend lasts, and tightens its exit once a position has made a large gain. Idle cash sits in an S&P 500 index fund.
A “regime shield” is applied on top: a daily score built from the index’s trend and from market volatility. When the score is weak, EVE stops buying. When it is very weak, EVE sells everything and stays out.
I have researched it for ten months and traded it with real money since January 2026.
EVE is an active strategy. Entry and exit thresholds, the regime formula, parameters and account sizes are not shown.
Backtest results
In the backtest EVE beats the index in only 13 of 25 years. Its advantage comes from smaller losses in the index’s down years, not from larger gains in ordinary years: it was roughly flat or up in 2002, 2008 and 2018 while the index fell, and its worst drawdown was about a third of the index’s. A few strong years (2007, 2013 and 2024 to 2026) supply much of the rest.
| Run | Return per year | Sharpe | Worst drawdown | Note |
|---|---|---|---|---|
| EVE, before tax, 5 bp slippage | 16.7% | 1.03 | −18.8% | In-sample: the headline figure |
| EVE, after tax, 10 bp slippage | 13.3% | 0.95 | −18.8% | In-sample: my “realistic” case |
| S&P 500 total return, before tax | 9.9% | 0.59 | −55.2% | Benchmark |
Bayesian parameter optimization
The strategy’s parameters were searched with Bayesian optimization, using the Tree-structured Parzen Estimator (TPE) in Optuna, inside a walk-forward study. At each quarterly retrain date the optimizer searched all 15 parameters jointly on a trailing training window, with the after-tax return relative to worst drawdown as the objective. Each parameter was restricted to a discrete set of values, and the first 60 trials of every search were random before the sampler took over.
The earlier studies sampled the same kind of discrete grid at random: 512 and 1,024 parameter sets drawn from grids of 31.5 million, 84.7 million and 24.4 billion combinations. The full sweep ran as a resumable process pool that logged every trial to disk, so a crash or a pause lost no work.
- 15Parameters searched jointly, each over a discrete set of values
- 300Optimizer trials per search, one search per walk-forward fold
- 3,503Folds: seven training-window lengths across 100 quarterly retrain dates
- 1,050,900Trials in total, about 8.6 days of continuous compute
Live trading system
- Scanner
Evening full-market scan
Syncs daily prices for about 6,900 common stocks, including delisted ones, and finds the day’s qualifying breakouts for the next open.
- Regime
Daily market score
Scores the market from the S&P 500’s trend and the volatility index. A weak score blocks new entries; a very weak one sells everything.
- Executor
Signals and orders
Posts signals as push notifications, places resting stop orders through the Schwab API and sweeps idle cash into an index fund. All trades are automated.
- Dashboard
Shared database view
A Streamlit dashboard reads the same SQLite database the other three services write, showing positions, signals and regime state.
Research and live trading timeline
- Dec 2025
Research begins.
- Jan 2026
First live trades in one account, then two.
- Mar – Apr
A second parameter generation goes live after a round of studies.
- Jul 30
The current parameter set is chosen from a 1,024-configuration search and deployed.
- Oct
After-tax, two-account and cost studies. Two regime changes adopted.
- Nov
Still running live.
Backtest figures are simulated and in-sample unless stated. Past performance does not predict future results. Nothing here is investment advice.