mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-24 07:28:04 +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_JPY",
|
|
"strategy_id": 3,
|
|
"strategy_name": "S3_Key_Level_Breakout",
|
|
"total_trades": 240,
|
|
"win_rate_pct": 32.92,
|
|
"avg_rr": 1.61,
|
|
"expectancy_pips": -3.72,
|
|
"sharpe_ratio": -1.7,
|
|
"max_drawdown_pct": -39.43,
|
|
"profit_factor": 0.79,
|
|
"total_pnl_pips": -891.83,
|
|
"total_pnl_dollars": -30785.68,
|
|
"avg_win_pips": 42.51,
|
|
"avg_loss_pips": 26.4,
|
|
"max_consecutive_wins": 5,
|
|
"max_consecutive_losses": 16,
|
|
"avg_hold_time_minutes": 539.0,
|
|
"best_trade_pips": 148.69,
|
|
"worst_trade_pips": -58.7,
|
|
"best_trade_dollars": 2942.64,
|
|
"worst_trade_dollars": -1114.55,
|
|
"final_equity": 69214.32,
|
|
"starting_equity": 100000.0,
|
|
"session_breakdown": {
|
|
"LONDON": {
|
|
"trades": 134,
|
|
"win_rate": 35.07462686567165,
|
|
"total_pnl_pips": 159.2481388390603
|
|
},
|
|
"OVERLAP": {
|
|
"trades": 106,
|
|
"win_rate": 30.18867924528302,
|
|
"total_pnl_pips": -1051.0783307839768
|
|
}
|
|
},
|
|
"exit_reasons": {
|
|
"SL": 161,
|
|
"TP1+TP2+SL": 32,
|
|
"TP3": 19,
|
|
"TP1+SL": 28
|
|
}
|
|
} |