quants.md
OCO Dip Or Breakout
Fragile
“Competing buy-limit (dip) and buy-stop (breakout)”
From quants.md
As tested: Every 5th session while flat: a buy limit 2% under the close and a buy stop 2% over it, 10% of the account, one cancels the other, live 5 sessions; sold 10 sessions after the fill. No stop.
Holding today: QQQ 10%
Edge per month-0.88 pts/mopts per month vs SPY
t-stat-2.8695% range -1.49 to -0.28
Months400Sep 1, 2016 – Dec 3, 2026
Win rate62%closed green
CAGR4.1%SPY 14.5%
Max drawdown-10.0%SPY -33.8%
Last 12 months-4.27 pts12 months, summed
Their backtest vs the rerun
| Window | CAGR | Sharpe | Max DD | |
|---|---|---|---|---|
| quants.md | 2001–2026 | +1.5% | -0.08 | -13.2% |
| Rerun | 2016–2026 | +4.1% | 0.39 | -10.0% |
Their dashboard · Source code · QuantJourney, Apache-2.0. Sharpe is after T-bills in the rerun, after a flat 2% in theirs.
Why fragile
- t-stat -2.86 is inside the noise
- 100% of resamples have no edge
- only 0% of nudged versions keep the edge, so it's a lucky setting
- one half carries it (-1.06 before 2021, -0.70 after)
Growth of $1
OCO Dip Or BreakoutSPY
Log scale. Traded at the next open after each signal, orders rebalance, slippage on every trade.
Year by year
2016
-0.19 pts/mo4
2017
-1.44 pts/mo12
2018
+0.45 pts/mo12
2019
-1.77 pts/mo12
2020
-1.33 pts/mo12
2021
-1.61 pts/mo12
2022
+0.66 pts/mo12
2023
-1.36 pts/mo12
2024
-1.47 pts/mo12
2025
-0.83 pts/mo12
2026
-0.36 pts/mo12