Skip to content

Commit 6bfec73

Browse files
committed
Show income/option sections for Binance/QMT with platform notes instead of hiding
1 parent b3ec704 commit 6bfec73

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

web/strategy-switch-console/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,6 +1720,7 @@ <h2 data-i18n="summary">切换摘要</h2>
17201720
executionCashReserveBlocksMargin: "已设预留现金覆盖,不能选允许融资。",
17211721
qmtPlatformCashNote: "A 股 QMT 不使用 margin / 平台预留现金;现金约束在策略参数 execution_cash_reserve_ratio 内配置。",
17221722
qmtDryRunOnlyNote: "QMT 当前仅支持 dry-run(模拟),尚无 live 券商账号。",
1723+
binancePlatformNote: "Binance 平台不使用券商级收入层与期权层;相关功能由策略内部实现。",
17231724
invalidExecutionCashPolicyNote: "允许融资与预留现金覆盖冲突,请只保留一种约束。",
17241725
dcaMode: "定投模式",
17251726
dcaSectionTitle: "定投",
@@ -1887,6 +1888,7 @@ <h2 data-i18n="summary">切换摘要</h2>
18871888
executionCashReserveBlocksMargin: "Reserve-cash override is active; allow margin Yes is disabled.",
18881889
qmtPlatformCashNote: "QMT A-share does not use margin or platform reserve cash; cash constraints live in strategy execution_cash_reserve_ratio.",
18891890
qmtDryRunOnlyNote: "QMT is dry-run only for now; no live broker accounts are configured.",
1891+
binancePlatformNote: "Binance does not use broker-level income/option layers; features are implemented inside strategies.",
18901892
invalidExecutionCashPolicyNote: "Allow margin and reserve-cash overrides conflict. Keep only one constraint.",
18911893
dcaMode: "DCA mode",
18921894
dcaSectionTitle: "DCA",
@@ -3752,8 +3754,8 @@ <h2 data-i18n="summary">切换摘要</h2>
37523754
el("ibit-zscore-exit-mode-meta").textContent = "";
37533755
}
37543756
const incomeDefaults = incomeLayerDefaultForStrategy(form.strategy);
3755-
el("income-layer-section").hidden = platform === "qmt" || platform === "binance";
3756-
el("option-overlay-section").hidden = platform === "qmt" || platform === "binance";
3757+
el("income-layer-section").hidden = false;
3758+
el("option-overlay-section").hidden = false;
37573759
incomeLayerModeSelect.replaceChildren();
37583760
if (incomeDefaults) {
37593761
incomeLayerModeSelect.disabled = false;

web/strategy-switch-console/page_asset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)