mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-14 18:48:07 +00:00
- Built event-driven backtesting engine with spread/slippage modeling, 3-TP partial closes, trailing stops, and rich trade logging (20+ features) - Implemented 5 strategy signal generators (MA Breakout, VWAP Reversal, Key Level Breakout, EMA Ribbon Scalp, Momentum Exhaustion) - Full indicator library (EMA, SMA, RSI, ATR, MACD, ADX, Stochastic, Session VWAP bands, swing points, key levels, RSI divergence) - Data pipeline: Dukascopy download, validation, 70/30 train/test split - Baseline results: all 5 strategies generate 200+ trades on training data (Jan 2021 - Aug 2023), best profit factors 0.82-0.96 on select pairs - Trade logs and reports saved for Phase 3 ML feature engineering Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"pair": "EUR_CAD",
|
|
"strategy_id": 5,
|
|
"strategy_name": "S5_Momentum_Exhaustion",
|
|
"total_trades": 262,
|
|
"win_rate_pct": 29.77,
|
|
"avg_rr": 1.21,
|
|
"expectancy_pips": -3.7,
|
|
"sharpe_ratio": -4.54,
|
|
"max_drawdown_pct": -60.7,
|
|
"profit_factor": 0.53,
|
|
"total_pnl_pips": -968.64,
|
|
"total_pnl_dollars": -59937.17,
|
|
"avg_win_pips": 13.14,
|
|
"avg_loss_pips": 10.84,
|
|
"max_consecutive_wins": 5,
|
|
"max_consecutive_losses": 13,
|
|
"avg_hold_time_minutes": 144.8,
|
|
"best_trade_pips": 34.52,
|
|
"worst_trade_pips": -19.68,
|
|
"best_trade_dollars": 2175.61,
|
|
"worst_trade_dollars": -1019.37,
|
|
"final_equity": 40062.83,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 149,
|
|
"win_rate": 30.201342281879196,
|
|
"total_pnl_pips": -495.20084563028934
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 113,
|
|
"win_rate": 29.20353982300885,
|
|
"total_pnl_pips": -473.4409758613806
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"TP3": 17,
|
|
"SL": 184,
|
|
"TP1+SL": 36,
|
|
"TP1+TP2+SL": 25
|
|
}
|
|
} |