Trend-Following Backtester · Guide · backtest 한국어
equity · US
Affirm Holdings, Inc. backtest
10 trend-following strategies were compared on the full daily history of Affirm Holdings, Inc.. 10 beat buy-and-hold CAGR; Keltner 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 35.9%, MDD -45.8%).
Results by strategy
10 of 10 beat buy and hold (CAGR -5.3%, drawdown -94.7%).
Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 36.0%, MDD -53.2%, Sharpe 0.81, 36% exposure.
Return/drawdown alternative: Supertrend — CAGR is 41.3%p higher than buy and hold, while drawdown improves by 41.5%p (CAGR 35.9%, MDD -45.8%, exposure 42%).
The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.
| Strategy · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| Keltner 채널 돌파 emaPeriod=32, atrPeriod=14, mult=1 |
36.0% | -53.2% | 0.81 | 0.68 | 5.5x | 50 | 36% |
| Supertrend period=16, mult=3.9 |
35.9% | -45.8% | 0.79 | 0.78 | 5.5x | 21 | 42% |
| EMA 크로스오버 fast=8, slow=41 |
34.5% | -47.9% | 0.78 | 0.72 | 5.2x | 26 | 44% |
| 볼린저 밴드 돌파 n=30, k=0.8 |
33.0% | -61.8% | 0.77 | 0.53 | 4.9x | 56 | 39% |
| Parabolic SAR step=0.01, maxStep=0.38 |
33.8% | -60.1% | 0.76 | 0.56 | 5.0x | 76 | 47% |
| SMA 크로스오버 fast=6, slow=80 |
24.8% | -59.7% | 0.66 | 0.42 | 3.4x | 27 | 45% |
| ROC 모멘텀 n=58, threshold=0.01 |
21.5% | -78.7% | 0.61 | 0.27 | 2.9x | 67 | 47% |
| MACD fast=17, slow=56, signal=10 |
18.7% | -76.3% | 0.58 | 0.25 | 2.6x | 72 | 51% |
| Donchian 채널 돌파 entryN=85, exitN=42 |
15.0% | -55.7% | 0.52 | 0.27 | 2.2x | 9 | 34% |
| ADX / DI 방향성 period=23, threshold=12 |
13.5% | -56.4% | 0.50 | 0.24 | 2.0x | 64 | 44% |
| Buy and hold | -5.3% | -94.7% | 0.40 | -0.06 | 0.7x | 1 | 100% |
Rules of the top strategy
Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.
- Buy — Buy when the close breaks above the 32-day average + 1× volatility (Keltner top)
- Sell — Sell when the close falls back to the 32-day average