diff --git a/app/web/static/index.html b/app/web/static/index.html index 6af21d9..65903c7 100644 --- a/app/web/static/index.html +++ b/app/web/static/index.html @@ -4573,7 +4573,9 @@ createApp({ // 「持仓票的信号 + 全场重要/警告级」。持仓票置顶; 决策系统买卖/风控卖出/择时 // 入场三路独立信号也并进来, 免得只看告警漏了真正会动手的那几条。 ── const code6 = s => (String(s || '').match(/\d{6}/) || [''])[0]; - const heldCodeSet = computed(() => new Set(heldPositions.value.map(p => code6(p.ts_code)))); + const heldCodeSet = computed(() => new Set([ + ...heldPositions.value, ...positionGroups.value.flatMap(group => group.held || []), + ].filter(position => position.total_qty > 0).map(position => code6(position.ts_code)).filter(Boolean))); // 今天选股计划里的票 (上游 /plan 主榜, 登录时随 loadPlan 加载): 速览里没持仓的 // 信号若命中计划, 挂「计划」标 —— 交易员一眼分清哪些噪音其实是候选池的动静 (2026-08-31) const planCodeSet = computed(() => new Set((planRows.value || []).map(r => code6(r.ts_code))));