mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-17 03:58: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>
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"pair": "GBP_JPY",
|
|
"strategy_id": 2,
|
|
"strategy_name": "S2_Session_VWAP_Reversal",
|
|
"total_trades": 348,
|
|
"win_rate_pct": 20.69,
|
|
"avg_rr": 2.51,
|
|
"expectancy_pips": -4.55,
|
|
"sharpe_ratio": -3.15,
|
|
"max_drawdown_pct": -67.39,
|
|
"profit_factor": 0.62,
|
|
"total_pnl_pips": -1583.63,
|
|
"total_pnl_dollars": -65240.52,
|
|
"avg_win_pips": 41.8,
|
|
"avg_loss_pips": 16.64,
|
|
"max_consecutive_wins": 3,
|
|
"max_consecutive_losses": 18,
|
|
"avg_hold_time_minutes": 221.6,
|
|
"best_trade_pips": 133.0,
|
|
"worst_trade_pips": -87.62,
|
|
"best_trade_dollars": 3890.84,
|
|
"worst_trade_dollars": -1018.57,
|
|
"final_equity": 34759.48,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 194,
|
|
"win_rate": 21.649484536082475,
|
|
"total_pnl_pips": -1066.9327875983017
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 154,
|
|
"win_rate": 19.480519480519483,
|
|
"total_pnl_pips": -516.6924885002354
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"TP1+TP2+SL": 34,
|
|
"SL": 275,
|
|
"TP1+SL": 14,
|
|
"TIME": 2,
|
|
"TP3": 21,
|
|
"TP1+TIME": 2
|
|
}
|
|
} |