Commit Graph

14 Commits

Author SHA1 Message Date
unknown c4e1f4dfed docs: update install guide with new features and git update guide
- Section 4.1: add equity chart overlay toggles description
- Section 4.6: new Settings page docs — Dark/Light/Custom theme,
  colour pickers, text size, inject_theme_css() usage
- Section 4.7: Batch Backtest renumbered
- Section 9: new — Keeping Up to Date (git pull, pip install,
  restart, handling conflicts, checking current version)
2026-04-15 08:27:33 +10:00
unknown a784d26875 feat: trade analysis equity overlays, theme settings, chart fixes
Trade Analysis:
- Add toggleable equity curve overlays: Account total, By Strategy,
  By Symbol, By Day of Week — checkboxes above each chart
- Fix all chart backgrounds to transparent (inherit page theme)
- Fix grid and font colours to work on both dark and light backgrounds

Settings page:
- Full theme control: Dark / Light / Custom radio with Apply button
- Custom mode: colour pickers for accent, page bg, sidebar bg, text,
  font selector and base dark/light toggle
- Preview swatches before applying
- Discard / Reset to Dark button
- Text size: Normal / Large (+2px) / Extra Large (+4px) via CSS injection
- inject_theme_css() helper for app.py to apply font size on all pages
- Theme written to .streamlit/config.toml on apply
2026-04-15 08:23:56 +10:00
unknown 2215a5d727 fix: batch backtest instrument editing and report naming
- Add Manual (edit in table) instrument mode
- Add Lock Table / Unlock buttons — edits persist without rerun interference
- Fix report name to always include symbol and period: {stem}_{symbol}_{period}_{model}
- Fix report names rebuilt from actual Symbol values in locked/edited table
- Add instrument warning above preview table
- Fix run_batch missing report_names parameter (recurring)
- Fix progress bar using stored total count
- Add Cancel button and bb_total / bb_report_dir session state keys
2026-04-14 20:25:58 +10:00
unknown 789cf67bba fix: batch backtest, set comparator and config editor
Batch Backtest:
- Fix run_batch signature missing report_names parameter (recurring)
- Add inline config editor to Active Config expander — edit and save
  all settings directly from the UI without re-running CLI script

Set Comparator:
- Fix UTF-8/UTF-16 encoding detection using BOM check
- Fix parse to skip optimisation metadata lines (ParamName,F etc.)
- Fix export to preserve all original lines including metadata
- Add UBS format detection — warning shown for non-Ultimate Breakout files
- Fix view_set_comparator to unpack 4-value return from parse_set_file
2026-04-14 15:46:27 +10:00
unknown 25b734a559 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
2026-04-14 13:24:05 +10:00
unknown e3b0d4221d chore: fix gitignore — remove mt5_batch_config.json from tracking 2026-04-14 13:22:27 +10:00
unknown 831c0dcef1 docs: add README and install guide
- README.md: full feature overview, install steps, file structure, format support
- MT5_Tools_Install_Guide.docx: 8-section Word doc covering install, all pages,
  config reference and troubleshooting
2026-04-14 10:59:55 +10:00
unknown d1add02390 docs: add README and install guide
- README.md: full feature overview, install steps, file structure, format support
- MT5_Tools_Install_Guide.docx: 8-section Word doc covering install, all pages,
  config reference and troubleshooting
2026-04-14 10:58:59 +10:00
unknown ec80bde82d Feature:
- added IC markets trade export file to trade analysis with account filter option
2026-04-14 08:39:30 +10:00
unknown 3db0870844 feat: portfolio master algo overhaul + fixes
Search:
- Three modes: Exhaustive, Greedy (incremental), Monte Carlo, combined
- Combination count estimate + runtime warning before run
- Background thread with Cancel button (threading.Event, no session_state spam)

Scoring:
- Composite weighted score (Ret/DD, Stability, Stagnation, Win Rate,
  Growth Quality, Diversity) with normalised sliders
- Score, Stability, Growth Quality, Diversity now whole numbers
- Growth Quality = normalised slope x R2 rewards consistently rising curves
- Diversity bonus based on symbol variety + session overlap

Correlation:
- Average pairwise correlation output metric
- Conditional correlation (drawdown days only) computed and displayed
- Per-result correlation heatmaps in detail expanders

Results table:
- Summary explanation panel above table
- Max Pos Exposure removed (unreliable with current parser output)

Fixes:
- Duplicate plotly_chart element ID fix
- time import missing fix
2026-04-13 17:25:13 +10:00
unknown 06e23e1d7a fix: batch backtest lot size, DD% formula, max position exposure
- mt5_batch_backtest.py / view_batch_backtest.py: fix update_param to
  clear MT5 .set flag bit 2 (use-default) and update default field so
  manual lot size actually takes effect
- view_portfolio_master.py: Max DD% now uses deposit not running peak,
  Max Position Exposure rebuilt as proper timeline sweep
- view_portfolio_builder.py: Max DD% formula aligned to match master
- view_portfolio_master.py / view_portfolio_builder.py: results table
  now shows full stats columns including Stability score
2026-04-13 15:46:52 +10:00
unknown 0d5746c89a Added batch set file back test for strategy tester MT5 2026-04-12 19:19:32 +10:00
unknown 3b1f90ffa8 Initial commit - MT5 Tools dashboard 2026-04-12 18:27:19 +10:00
unknown 6b677b8259 Initial commit - MT5 Tools dashboard 2026-04-12 18:25:46 +10:00