mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-26 00:18:05 +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": "GBP_USD",
|
|
"strategy_id": 3,
|
|
"strategy_name": "S3_Key_Level_Breakout",
|
|
"total_trades": 263,
|
|
"win_rate_pct": 35.74,
|
|
"avg_rr": 1.62,
|
|
"expectancy_pips": -1.11,
|
|
"sharpe_ratio": -1.03,
|
|
"max_drawdown_pct": -24.24,
|
|
"profit_factor": 0.87,
|
|
"total_pnl_pips": -292.75,
|
|
"total_pnl_dollars": -19569.64,
|
|
"avg_win_pips": 29.26,
|
|
"avg_loss_pips": 18.01,
|
|
"max_consecutive_wins": 5,
|
|
"max_consecutive_losses": 9,
|
|
"avg_hold_time_minutes": 508.5,
|
|
"best_trade_pips": 76.7,
|
|
"worst_trade_pips": -44.48,
|
|
"best_trade_dollars": 2839.14,
|
|
"worst_trade_dollars": -1018.88,
|
|
"final_equity": 80430.36,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 156,
|
|
"win_rate": 37.82051282051282,
|
|
"total_pnl_pips": -14.815714514974356
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 107,
|
|
"win_rate": 32.71028037383177,
|
|
"total_pnl_pips": -277.9365672732492
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"SL": 169,
|
|
"TP1+TP2+SL": 31,
|
|
"TP1+SL": 36,
|
|
"TP3": 27
|
|
}
|
|
} |