读取策略配置
\n正在读取登录状态、账号配置和当前状态。
\n \nFrom 565afdf071282f5725518c0c5d523a72a446dc29 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Wed, 1 Jul 2026 14:02:17 +0800 Subject: [PATCH] Fix settings validation asset drift --- .github/workflows/validate.yml | 4 +- internal_dependency_matrix.json | 72 ++++- .../sync_strategy_switch_page_asset.py | 18 ++ tests/strategy_switch_worker_validation.mjs | 43 ++- web/strategy-switch-console/app.js | 13 +- web/strategy-switch-console/app_js.js | 2 +- web/strategy-switch-console/page_asset.js | 2 +- .../strategy_profiles_asset.js | 285 +----------------- 8 files changed, 120 insertions(+), 319 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b9239a7..1db81e9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -59,10 +59,12 @@ jobs: python3 python/scripts/build_config.py --check python3 python/scripts/build_config.py python3 python/scripts/sync_strategy_switch_page_asset.py - git diff --exit-code -- web/strategy-switch-console/page_asset.js web/strategy-switch-console/strategy_profiles_asset.js + git diff --exit-code -- web/strategy-switch-console/page_asset.js web/strategy-switch-console/strategy_profiles_asset.js web/strategy-switch-console/app_css.js web/strategy-switch-console/app_js.js jq empty web/strategy-switch-console/strategy-profiles.example.json node --experimental-default-type=module tests/strategy_switch_worker_validation.mjs sed -n '/\n\n
\n选平台、目标账号和策略,一次执行完成切换。
\n正在读取登录状态、账号配置和当前状态。
\n \n登录后查看账号配置。
\n\n允许融资与预留现金覆盖不能同时生效。
\nA 股 QMT 不使用 margin / 平台预留现金;现金约束在策略参数 execution_cash_reserve_ratio 内配置。
\n登录后才可执行切换。
\n \n