feat: add rolling backtest and optimization improvements

- Add run_rolling_backtest tool for N consecutive weekly backtests
- Add max_passes support for optimization to cap genetic passes
- Kill stale MT5/agent processes before optimization launch
- Auto-parse optimization results on status poll when process completes
- Fix XML namespace for SpreadsheetML parsing
- Change optimization model from 4 to 1 for better accuracy
- Persist completion results to job metadata
This commit is contained in:
Devid HW
2026-07-02 03:53:58 +07:00
parent d2fca8ded3
commit 552e271d08
8 changed files with 504 additions and 42 deletions
+1
View File
@@ -75,6 +75,7 @@ impl ToolHandler {
"launch_backtest" => backtest::handle_launch_backtest(self, args).await, // Fire-and-forget mode
"get_backtest_status" => backtest::handle_get_backtest_status(&self.config, args).await,
"get_tester_log" => backtest::handle_get_tester_log(&self.config, args).await,
"run_rolling_backtest" => backtest::handle_run_rolling_backtest(&self.config, args).await,
"cache_status" => backtest::handle_cache_status(&self.config).await,
"clean_cache" => backtest::handle_clean_cache(&self.config, args).await,