Trend-Following Backtester · Guide · backtest 한국어
equity · AR
YPF SA Class D backtest
10 trend-following strategies were compared on the full daily history of YPF SA Class D. 0 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 33.4%, drawdown -73.0%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 23.4%, MDD -71.4%, Sharpe 0.80, 58% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 30.5%, MDD -67.1%, exposure 86%.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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 |
|---|---|---|---|---|---|---|---|
| ROC 모멘텀 n=144, threshold=0.06 |
23.4% | -71.4% | 0.80 | 0.33 | 279.3x | 185 | 58% |
| EMA 크로스오버 fast=47, slow=215 |
24.3% | -81.9% | 0.78 | 0.30 | 336.8x | 27 | 69% |
| Parabolic SAR step=0.01, maxStep=0.16 |
20.4% | -62.6% | 0.76 | 0.33 | 143.3x | 328 | 53% |
| SMA 크로스오버 fast=22, slow=204 |
22.1% | -73.9% | 0.74 | 0.30 | 206.4x | 47 | 66% |
| Donchian 채널 돌파 entryN=12, exitN=54 |
30.5% | -67.1% | 0.72 | 0.46 | 1246.0x | 95 | 86% |
| Supertrend period=20, mult=4.9 |
16.1% | -58.5% | 0.64 | 0.28 | 54.5x | 125 | 55% |
| 볼린저 밴드 돌파 n=57, k=3.1 |
10.9% | -52.5% | 0.62 | 0.21 | 15.9x | 48 | 20% |
| MACD fast=9, slow=22, signal=9 |
20.6% | -70.5% | 0.58 | 0.29 | 148.2x | 564 | 51% |
| ADX / DI 방향성 period=34, threshold=11 |
11.6% | -63.7% | 0.54 | 0.18 | 19.0x | 225 | 39% |
| Keltner 채널 돌파 emaPeriod=50, atrPeriod=29, mult=1.7 |
11.3% | -61.6% | 0.52 | 0.18 | 17.7x | 196 | 44% |
| Buy and hold | 33.4% | -73.0% | 0.75 | 0.46 | 2231.2x | 1 | 100% |
Rules of the top strategy
Rides the trend when recent return (momentum) over a window is above a threshold.
- Buy — Buy when the last 144-day return is greater than 6%
- Sell — Sell when the 144-day return drops to 6% or below