Skip to content

QT settings: lock backtest, platform/ops and model-structure settings - #138

Merged
dominickdupuy merged 1 commit into
mainfrom
qt/settings-locks
Oct 14, 2026
Merged

dominickdupuy merged 1 commit into
mainfrom
qt/settings-locks

Conversation

@dominickdupuy

Copy link
Copy Markdown
Member

Dom (2026-10-14): remove the backtest parameters from the QT platform; also lock the platform & ops switches and the model structure.

Enforced server side in domain/qt/settings.py (is_hidden_path): a hidden path is neither shown nor accepted in a save or a restore.

Locked Settings
Backtest backtest.*; any key holding "backtest" (execution.position_limit_backtest, strategies.*.enabled_backtest)
Platform & ops qt.* (desk_editable), live.*, execution.*
Model structure strategy_defaults.*, optimization.*, general.use_optimization, general.covariance_*, strategies.*.type / enabled_live / default_allocation
Comments any _-prefixed key (_note, _description)

Still editable by the desk (Dom's choice): risk.*, general.initial_capital / starting_capital / sizing_mode, strategies.*.config.* (IDM, EMA windows, risk target, vol lookbacks), equity_slow_rule.*.

Tests: backend 387 (locks shown/refused/not restorable; the editable ones still save); settings DB/route tests pass.

… from the desk

Hidden and refused server side (Dom, 2026-10-14): the backtest section and any backtest key;
qt, live and execution (platform and operations switches); strategy_defaults and
optimization, general.use_optimization and general.covariance_*, and each strategy's type,
enabled_live and default_allocation (model structure); config comments (_note, ...). The
desk still changes the risk limits, the fund's capital and the strategies' signal settings.
@dominickdupuy
dominickdupuy merged commit 746a4ab into main Oct 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant