mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-12 17:58:05 +00:00
Added parameter sweep tool that tested 320 combinations across SMA periods, trade sizes, and RSI filters. Best result: SMA 50/100 on M15 with RSI 80/20 (Sharpe 5.69, 49% win rate). Updated backtester with RSI overbought/oversold signal filtering and config to match optimal parameters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
113 lines
2.4 KiB
JSON
113 lines
2.4 KiB
JSON
{
|
|
"instrument": "EUR_USD",
|
|
"granularity": "M5",
|
|
"run_time": "2026-02-17T04:04:59.620077+00:00",
|
|
"data_range": {
|
|
"start": "2025-02-17 12:10:00+00:00",
|
|
"end": "2026-02-17 03:55:00+00:00",
|
|
"bars": 74486
|
|
},
|
|
"metrics": {
|
|
"starting_equity": 100000.0,
|
|
"total_return_pct": 0.0779,
|
|
"max_drawdown_pct": 0.1162,
|
|
"num_trades": 2398,
|
|
"round_trips": 1199,
|
|
"win_rate_pct": 46.12,
|
|
"sharpe_ratio": 1.2429,
|
|
"final_equity": 100077.9
|
|
},
|
|
"monthly_pnl": [
|
|
{
|
|
"month": "2025-02",
|
|
"start_equity": 100000.0,
|
|
"end_equity": 99985.78,
|
|
"pnl": -14.22,
|
|
"pnl_pct": -0.0142
|
|
},
|
|
{
|
|
"month": "2025-03",
|
|
"start_equity": 99985.78,
|
|
"end_equity": 100004.32,
|
|
"pnl": 18.54,
|
|
"pnl_pct": 0.0185
|
|
},
|
|
{
|
|
"month": "2025-04",
|
|
"start_equity": 100004.32,
|
|
"end_equity": 100113.96,
|
|
"pnl": 109.64,
|
|
"pnl_pct": 0.1096
|
|
},
|
|
{
|
|
"month": "2025-05",
|
|
"start_equity": 100113.96,
|
|
"end_equity": 100119.43,
|
|
"pnl": 5.47,
|
|
"pnl_pct": 0.0055
|
|
},
|
|
{
|
|
"month": "2025-06",
|
|
"start_equity": 100119.43,
|
|
"end_equity": 100120.13,
|
|
"pnl": 0.7,
|
|
"pnl_pct": 0.0007
|
|
},
|
|
{
|
|
"month": "2025-07",
|
|
"start_equity": 100120.13,
|
|
"end_equity": 100102.3,
|
|
"pnl": -17.83,
|
|
"pnl_pct": -0.0178
|
|
},
|
|
{
|
|
"month": "2025-08",
|
|
"start_equity": 100102.3,
|
|
"end_equity": 100108.24,
|
|
"pnl": 5.94,
|
|
"pnl_pct": 0.0059
|
|
},
|
|
{
|
|
"month": "2025-09",
|
|
"start_equity": 100108.24,
|
|
"end_equity": 100119.99,
|
|
"pnl": 11.75,
|
|
"pnl_pct": 0.0117
|
|
},
|
|
{
|
|
"month": "2025-10",
|
|
"start_equity": 100119.99,
|
|
"end_equity": 100081.04,
|
|
"pnl": -38.95,
|
|
"pnl_pct": -0.0389
|
|
},
|
|
{
|
|
"month": "2025-11",
|
|
"start_equity": 100081.04,
|
|
"end_equity": 100065.94,
|
|
"pnl": -15.09,
|
|
"pnl_pct": -0.0151
|
|
},
|
|
{
|
|
"month": "2025-12",
|
|
"start_equity": 100065.94,
|
|
"end_equity": 100074.04,
|
|
"pnl": 8.1,
|
|
"pnl_pct": 0.0081
|
|
},
|
|
{
|
|
"month": "2026-01",
|
|
"start_equity": 100074.04,
|
|
"end_equity": 100101.75,
|
|
"pnl": 27.71,
|
|
"pnl_pct": 0.0277
|
|
},
|
|
{
|
|
"month": "2026-02",
|
|
"start_equity": 100101.75,
|
|
"end_equity": 100077.9,
|
|
"pnl": -23.85,
|
|
"pnl_pct": -0.0238
|
|
}
|
|
]
|
|
} |