From 25b734a55918e5539bd5945c3b6c6d23a2b3a4ae Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 14 Apr 2026 13:24:05 +1000 Subject: [PATCH] fix: set comparator, batch backtest and trade analysis bugs Set Comparator: - Fix UTF-16/UTF-8 encoding detection for .set files (BOM check) - Fix parse to skip optimisation metadata lines (ParamName,F etc.) - Fix export to preserve all original lines including metadata - Add format detection warning for non-Ultimate Breakout .set files Batch Backtest: - Fix run_batch signature missing report_names parameter (caused hang) - Fix progress bar to use stored total count not live set_files length - Add Windows-only check at render entry point - Fix optimisation file exclusion to match anywhere in filename Trade Analysis: - Fix IC Markets upload error handling to show actual exception requirements.txt: - Add scipy, openpyxl, beautifulsoup4 --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 898da09..0b84076 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,6 @@ streamlit streamlit-option-menu pandas plotly +scipy +openpyxl +beautifulsoup4 \ No newline at end of file