mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-23 23: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
1009 B
JSON
43 lines
1009 B
JSON
{
|
|
"pair": "GBP_AUD",
|
|
"strategy_id": 1,
|
|
"strategy_name": "S1_MA_Breakout_Retest",
|
|
"total_trades": 122,
|
|
"win_rate_pct": 39.34,
|
|
"avg_rr": 1.36,
|
|
"expectancy_pips": -1.19,
|
|
"sharpe_ratio": -1.55,
|
|
"max_drawdown_pct": -17.01,
|
|
"profit_factor": 0.81,
|
|
"total_pnl_pips": -145.24,
|
|
"total_pnl_dollars": -12339.87,
|
|
"avg_win_pips": 22.33,
|
|
"avg_loss_pips": 16.45,
|
|
"max_consecutive_wins": 4,
|
|
"max_consecutive_losses": 9,
|
|
"avg_hold_time_minutes": 237.3,
|
|
"best_trade_pips": 44.83,
|
|
"worst_trade_pips": -26.92,
|
|
"best_trade_dollars": 2242.77,
|
|
"worst_trade_dollars": -1000.0,
|
|
"final_equity": 87660.13,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 58,
|
|
"win_rate": 41.37931034482759,
|
|
"total_pnl_pips": -22.01687471378051
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 64,
|
|
"win_rate": 37.5,
|
|
"total_pnl_pips": -123.2260709958683
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"SL": 74,
|
|
"TP1+SL": 21,
|
|
"TP1+TP2+SL": 17,
|
|
"TP3": 10
|
|
}
|
|
} |