AlgoTest import and backtest
===========================
Click Import AlgoTest in the action bar. Select a .algtst or AlgoTest JSON file,
review the mappings and model differences, then click Import reviewed strategies.
Select the imported strategies and dates, then Backtest selected imports.
Full available history uses the union of the displayed symbols' local coverage.
Missing sessions remain visible in the backtest report.

Only the chosen file's selected records run, at most 100 per run. Shared basket
SL and target start off; each strategy retains its own saved rules. Reimporting
the same file skips duplicates and offers its saved versions for backtesting.
Any library edits on existing records are retained and visible for review.
An unsupported active rule blocks the entire file. Files must be below 4.5 MB.

MCX AlgoTest Monthly legs retain monthly expiry and select the nearest unexpired
recorded monthly contract, including the next month after expiry. Monthly source
expiry is retained in the imported leg. Weekday/DTE filters, quantities, entry/exit
times and risk rules continue to follow the source file. Index Monthly imports
remain blocked because their weekly/monthly contract distinction is unsupported.

Validated 2026-10-10 using Desktop/CURRENT TRADING BASKET:
- entry_optimized_aug03_oct07_2026.algtst: 22
- export_r0715lbestmixedtimes0925 (1).algtst: 22
- export_r0766lstoxxobestmixedtimes0925.algtst: 46
- export_r07bestmixedtimes0925 (1).algtst: 22
112 entries across the four files. Some strategies can overlap between exports.

The 22-strategy optimized basket completed a one-session integration run on
2026-10-06 in the isolated QA workspace. The run excluded unrelated portfolios.
This verifies the import/run workflow, not exact AlgoTest result parity.
Source exit times after 15:30 are retained on extended-data index sessions.
Shorter recorded sessions use the explicit 15:30 fallback with fresh quotes;
reports show requested time, actual time and fallback warnings. MCX is unchanged.

Verification: qa/algotest-integration.json, qa/algotest-backtest-smoke.json.
Frontend regression checks: npm run test:imports.

Desktop shortcut icon: desktop/QuantStudio.ico (16 through 256 px).
Generated PNG and prompt provenance are saved locally. Existing shortcut target
and launch arguments are preserved; only IconLocation was updated.
