mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-23 15:08: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
1019 B
JSON
43 lines
1019 B
JSON
{
|
|
"pair": "GBP_AUD",
|
|
"strategy_id": 4,
|
|
"strategy_name": "S4_EMA_Ribbon_Scalp",
|
|
"total_trades": 79,
|
|
"win_rate_pct": 34.18,
|
|
"avg_rr": 1.25,
|
|
"expectancy_pips": -2.46,
|
|
"sharpe_ratio": -4.02,
|
|
"max_drawdown_pct": -21.21,
|
|
"profit_factor": 0.59,
|
|
"total_pnl_pips": -194.5,
|
|
"total_pnl_dollars": -19363.47,
|
|
"avg_win_pips": 13.23,
|
|
"avg_loss_pips": 10.61,
|
|
"max_consecutive_wins": 4,
|
|
"max_consecutive_losses": 10,
|
|
"avg_hold_time_minutes": 36.8,
|
|
"best_trade_pips": 30.01,
|
|
"worst_trade_pips": -20.79,
|
|
"best_trade_dollars": 2060.18,
|
|
"worst_trade_dollars": -1017.88,
|
|
"final_equity": 80636.53,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 41,
|
|
"win_rate": 26.82926829268293,
|
|
"total_pnl_pips": -178.7168295102963
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 38,
|
|
"win_rate": 42.10526315789473,
|
|
"total_pnl_pips": -15.785910522057456
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"SL": 52,
|
|
"TP1+TP2+SL": 11,
|
|
"TP1+SL": 12,
|
|
"TP3": 4
|
|
}
|
|
} |