mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-13 10:18:06 +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.3 KiB
JSON
113 lines
2.3 KiB
JSON
{
|
|
"instrument": "EUR_USD",
|
|
"granularity": "M15",
|
|
"run_time": "2026-02-17T04:05:33.220977+00:00",
|
|
"data_range": {
|
|
"start": "2025-02-18 04:45:00+00:00",
|
|
"end": "2026-02-17 04:00:00+00:00",
|
|
"bars": 24766
|
|
},
|
|
"metrics": {
|
|
"starting_equity": 100000.0,
|
|
"total_return_pct": 0.2026,
|
|
"max_drawdown_pct": 0.0716,
|
|
"num_trades": 792,
|
|
"round_trips": 396,
|
|
"win_rate_pct": 48.99,
|
|
"sharpe_ratio": 5.6852,
|
|
"final_equity": 100202.61
|
|
},
|
|
"monthly_pnl": [
|
|
{
|
|
"month": "2025-02",
|
|
"start_equity": 100000.0,
|
|
"end_equity": 99991.06,
|
|
"pnl": -8.94,
|
|
"pnl_pct": -0.0089
|
|
},
|
|
{
|
|
"month": "2025-03",
|
|
"start_equity": 99991.06,
|
|
"end_equity": 100028.15,
|
|
"pnl": 37.09,
|
|
"pnl_pct": 0.0371
|
|
},
|
|
{
|
|
"month": "2025-04",
|
|
"start_equity": 100028.15,
|
|
"end_equity": 100119.79,
|
|
"pnl": 91.65,
|
|
"pnl_pct": 0.0916
|
|
},
|
|
{
|
|
"month": "2025-05",
|
|
"start_equity": 100119.79,
|
|
"end_equity": 100111.46,
|
|
"pnl": -8.33,
|
|
"pnl_pct": -0.0083
|
|
},
|
|
{
|
|
"month": "2025-06",
|
|
"start_equity": 100111.46,
|
|
"end_equity": 100172.69,
|
|
"pnl": 61.23,
|
|
"pnl_pct": 0.0612
|
|
},
|
|
{
|
|
"month": "2025-07",
|
|
"start_equity": 100172.69,
|
|
"end_equity": 100116.29,
|
|
"pnl": -56.4,
|
|
"pnl_pct": -0.0563
|
|
},
|
|
{
|
|
"month": "2025-08",
|
|
"start_equity": 100116.29,
|
|
"end_equity": 100118.32,
|
|
"pnl": 2.03,
|
|
"pnl_pct": 0.002
|
|
},
|
|
{
|
|
"month": "2025-09",
|
|
"start_equity": 100118.32,
|
|
"end_equity": 100143.18,
|
|
"pnl": 24.85,
|
|
"pnl_pct": 0.0248
|
|
},
|
|
{
|
|
"month": "2025-10",
|
|
"start_equity": 100143.18,
|
|
"end_equity": 100127.12,
|
|
"pnl": -16.06,
|
|
"pnl_pct": -0.016
|
|
},
|
|
{
|
|
"month": "2025-11",
|
|
"start_equity": 100127.12,
|
|
"end_equity": 100144.22,
|
|
"pnl": 17.1,
|
|
"pnl_pct": 0.0171
|
|
},
|
|
{
|
|
"month": "2025-12",
|
|
"start_equity": 100144.22,
|
|
"end_equity": 100163.99,
|
|
"pnl": 19.76,
|
|
"pnl_pct": 0.0197
|
|
},
|
|
{
|
|
"month": "2026-01",
|
|
"start_equity": 100163.99,
|
|
"end_equity": 100187.04,
|
|
"pnl": 23.05,
|
|
"pnl_pct": 0.023
|
|
},
|
|
{
|
|
"month": "2026-02",
|
|
"start_equity": 100187.04,
|
|
"end_equity": 100202.61,
|
|
"pnl": 15.57,
|
|
"pnl_pct": 0.0155
|
|
}
|
|
]
|
|
} |