← The library

quants.md

Stop Limit Breakout

Fragile

“Enter breakouts but cap the maximum fill price”

As tested: O05's breakout as a stop-limit: the buy stop activates 0.2% over the prior 20-close high and fills only up to 0.4% above that; held 12 sessions.

Edge per month-0.87 pts/mopts per month vs SPY
t-stat-2.4895% range -1.56 to -0.18
Months305Sep 1, 2016 – Dec 3, 2026
Win rate67%closed green
CAGR4.3%SPY 14.5%
Max drawdown-4.5%SPY -33.8%
Last 12 months-4.92 pts12 months, summed

Their backtest vs the rerun

WindowCAGRSharpeMax DDWin rateProfit factor
quants.md2001–2026+1.8%-0.05-6.4%63%1.63
Rerun2016–2026+4.3%0.64-4.5%67%1.80

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 Limit BreakoutSPY
20172019202120232025

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

Year by year

2016
-0.72 pts/mo4
2017
-1.32 pts/mo12
2018
+0.44 pts/mo12
2019
-1.93 pts/mo12
2020
-1.15 pts/mo12
2021
-2.02 pts/mo12
2022
+1.35 pts/mo12
2023
-1.14 pts/mo12
2024
-1.53 pts/mo12
2025
-1.03 pts/mo12
2026
-0.41 pts/mo12