← The library

quants.md

Stop Breakout Entry

Fragile

“Buy-stop above the recent 20-day high”

As tested: A buy stop 0.2% over the highest of the prior 20 closes, 10% of the account, renewed every 5 sessions; sold at the open 10 sessions after the fill. No stop.

Edge per month-0.85 pts/mopts per month vs SPY
t-stat-2.3595% range -1.55 to -0.14
Months352Sep 1, 2016 – Dec 3, 2026
Win rate65%closed green
CAGR4.6%SPY 14.5%
Max drawdown-3.1%SPY -33.8%
Last 12 months-4.70 pts12 months, summed

Their backtest vs the rerun

WindowCAGRSharpeMax DDWin rateProfit factor
quants.md2001–2026+1.4%-0.19-10.5%62%1.45
Rerun2016–2026+4.6%0.78-3.1%65%1.87

Their dashboard · Source code · QuantJourney, Apache-2.0. Sharpe is after T-bills in the rerun, after a flat 2% in theirs.

Why fragile

Growth of $1

Stop Breakout EntrySPY
20172019202120232025

Log scale. Traded at the next open after each signal, orders rebalance, slippage on every trade.

Year by year

2016
-0.74 pts/mo4
2017
-1.38 pts/mo12
2018
+0.30 pts/mo12
2019
-1.98 pts/mo12
2020
-1.04 pts/mo12
2021
-2.04 pts/mo12
2022
+1.62 pts/mo12
2023
-1.14 pts/mo12
2024
-1.48 pts/mo12
2025
-0.97 pts/mo12
2026
-0.39 pts/mo12