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 EMA 크로스오버 (CAGR 31.7%, MDD -43.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -5.7%, drawdown -94.7%).
Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 32.9%, MDD -51.1%, Sharpe 0.78, 34% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 33.5%, MDD -47.0%, exposure 45%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 38.6%p higher than buy and hold, while drawdown improves by 43.6%p (CAGR 31.7%, MDD -43.9%, exposure 45%).
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=31, atrPeriod=15, mult=1.1 |
32.9% | -51.1% | 0.78 | 0.64 | 5.1x | 46 | 34% |
| SMA 크로스오버 fast=7, slow=45 |
33.5% | -47.0% | 0.77 | 0.71 | 5.2x | 34 | 45% |
| Supertrend period=16, mult=3.9 |
33.5% | -45.8% | 0.76 | 0.73 | 5.2x | 22 | 43% |
| 볼린저 밴드 돌파 n=30, k=0.7 |
32.4% | -60.6% | 0.76 | 0.54 | 5.0x | 60 | 39% |
| EMA 크로스오버 fast=8, slow=37 |
31.7% | -43.9% | 0.74 | 0.72 | 4.8x | 32 | 45% |
| Parabolic SAR step=0.01, maxStep=0.32 |
31.3% | -60.1% | 0.73 | 0.52 | 4.7x | 78 | 47% |
| ADX / DI 방향성 period=21, threshold=13 |
24.1% | -51.2% | 0.65 | 0.47 | 3.4x | 62 | 42% |
| ROC 모멘텀 n=57, threshold=0.01 |
24.5% | -71.6% | 0.65 | 0.34 | 3.5x | 68 | 48% |
| MACD fast=14, slow=57, signal=11 |
21.9% | -76.9% | 0.62 | 0.28 | 3.1x | 74 | 49% |
| Donchian 채널 돌파 entryN=75, exitN=42 |
20.7% | -55.7% | 0.60 | 0.37 | 2.9x | 10 | 35% |
| Buy and hold | -5.7% | -94.7% | 0.39 | -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 31-day average + 1.1× volatility (Keltner top)
- Sell — Sell when the close falls back to the 31-day average