通道账号接入: 未填入凭证(保持本地离线/沙盘安全态)
小金鹰 · 小狮子 · 小老虎 三端口协同演示版面
人工陪同 · 随时喊停 · 历史上限 ≤ 2年 · 不改 Lion1 基线 · 不连 AI-Commerce-OS · API 费用 $0.0
1. 小金鹰 · 底座治理
PORT :18101
2. 小狮子 · 策略与槽位
已开 PORT :18102
3. 小老虎 · 拟人执行
已关 PORT :18103
实时最新 K 线 · 虚拟期货盘 · 沪金 AU2606 · 趋势相态 🐯 小老虎开关:已关(点【开】或【全部开启】启动)
小老虎拟人动作日志 已关
当前品种/价
618.4
持仓方向
空仓
区间变动
+0.0
策略窗口 · 大公司策略库(双策略已就绪) 已载入全部 2 条策略
① 机构级分批建仓与回撤熔断(CORP-STRAT-01 · 大公司标准策略)
分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。
② 跨品种相关性分散与节奏限速(CORP-STRAT-02 · 大公司标准策略)
多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。
硬性底线:人工随时开/关/喊停主权 · 历史上限 ≤ 2 年 · 不改 Lion1 基线 · 不连 AI-Commerce-OS · API 费用 .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0"; const STRAT_LIST = [ { key: "机构级分批建仓与回撤熔断", code: "CORP-STRAT-01", summary: "分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。" }, { key: "跨品种相关性分散与节奏限速", code: "CORP-STRAT-02", summary: "多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。" } ]; window.applyBigFirmStrategy = function(name) { const box = document.getElementById("strategyWindowBox"); const badge = document.getElementById("strategyMatchBadge"); const view = document.getElementById("strategyContentView"); if (box) box.style.display = "block"; if (!view) return; if (name === "ALL") { if (badge) badge.textContent = "已载入全部 2 条策略"; view.innerHTML = STRAT_LIST.map((s, i) => `
${i === 0 ? "①" : "②"} ${s.key}(${s.code} · 大公司标准策略)
${s.summary}
`).join("") + `
硬性底线:${BASELINE_STR}
`; return; } const hit = STRAT_LIST.find(s => s.key === name) || STRAT_LIST[0]; if (badge) badge.textContent = `已聚焦:${hit.code}`; view.innerHTML = `
当前策略:${hit.key}(${hit.code} · 大公司标准策略)
${hit.summary}
另一条已备策略:${STRAT_LIST.filter(s => s.code !== hit.code).map(s => s.key + "(" + s.code + ")").join(";")}
硬性底线:${BASELINE_STR}
`; if (typeof addFeed === "function") { addFeed(`【策略窗口】已切换大公司策略【${hit.key}】(${hit.code})`, "c-in"); } }; window.addEventListener("DOMContentLoaded", () => { window.applyBigFirmStrategy("ALL"); }); })(); .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0。
.0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0"; const STRAT_LIST = [ { key: "机构级分批建仓与回撤熔断", code: "CORP-STRAT-01", summary: "分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。" }, { key: "跨品种相关性分散与节奏限速", code: "CORP-STRAT-02", summary: "多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。" } ]; window.applyBigFirmStrategy = function(name) { const box = document.getElementById("strategyWindowBox"); const badge = document.getElementById("strategyMatchBadge"); const view = document.getElementById("strategyContentView"); if (box) box.style.display = "block"; if (!view) return; if (name === "ALL") { if (badge) badge.textContent = "已载入全部 2 条策略"; view.innerHTML = STRAT_LIST.map((s, i) => `
${i === 0 ? "①" : "②"} ${s.key}(${s.code} · 大公司标准策略)
${s.summary}
`).join("") + `
硬性底线:${BASELINE_STR}
`; return; } const hit = STRAT_LIST.find(s => s.key === name) || STRAT_LIST[0]; if (badge) badge.textContent = `已聚焦:${hit.code}`; view.innerHTML = `
当前策略:${hit.key}(${hit.code} · 大公司标准策略)
${hit.summary}
另一条已备策略:${STRAT_LIST.filter(s => s.code !== hit.code).map(s => s.key + "(" + s.code + ")").join(";")}
硬性底线:${BASELINE_STR}
`; if (typeof addFeed === "function") { addFeed(`【策略窗口】已切换大公司策略【${hit.key}】(${hit.code})`, "c-in"); } }; window.addEventListener("DOMContentLoaded", () => { window.applyBigFirmStrategy("ALL"); }); })(); .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0)`, 'c-in'); document.getElementById('tigerOut').innerHTML = `
【:18103 接口接通 · 无限制放行】
` + `
已接通期货/标的:${cleanName}|当前盘面:${document.getElementById('accMode').value}|周期:${document.getElementById('timeRange').selectedOptions[0].text}(≤2年)。可随时点【开】或【随时喊停】。
`; return { ok: true, port: 18103, symbol: cleanName, timestamp: nowStr() }; }; window.quickConnectTiger = function(sym) { window.tigerConnect(sym); }; // 接管小老虎查找框:任意期货名称输入或点查找都直接接通,不卡死 window.searchTiger = function() { const raw = document.getElementById('tigerIn').value.trim(); if (!raw) return selectTiger(currentTigerIdx); const q = raw.toLowerCase(); const sel = document.getElementById('timeRange'); let rangeNote = ''; const yearMatch = raw.match(/(\d+)\s*年/); if (yearMatch) { const yrs = parseInt(yearMatch[1], 10); sel.value = '6M'; rangeNote = yrs > 2 ? `(输入 ${yrs} 年,已自动对齐 ≤2 年内【近半年】)` : '(符合 ≤2 年,对齐【近半年】)'; } else if (q.includes('实时') || q.includes('最新')) { sel.value = 'LIVE'; } else if (q.includes('1天') || q.includes('一天') || q.includes('昨')) { sel.value = '1D'; } else if (q.includes('1周') || q.includes('一周') || q.includes('周')) { sel.value = '1W'; } else if (q.includes('1个月') || q.includes('一个月') || q.includes('月')) { sel.value = '1M'; } else if (q.includes('半年')) { sel.value = '6M'; } const isPureCommand = ['喊停','陪看','开关','模拟','实盘','虚拟','真实','拟人','移动','盘面'].includes(raw); if (!isPureCommand) { window.tigerConnect(raw); document.getElementById('tigerOut').innerHTML = `
【:18103 接口接通】${raw}${rangeNote}
` + `
已为【${raw}】接通盘面与 K 线;小老虎独立开关当前为【${tigerEnabled ? '已开' : '已关'}】,可随时启停或喊停。
`; return; } const hits = tigerCatalog.map((it, idx) => ({ it, idx })).filter(x => (x.it.name + ' ' + x.it.kw + ' ' + x.it.desc).toLowerCase().includes(q) ); if (hits.length) { currentTigerIdx = hits[0].idx; highlightCat('tigerCats', currentTigerIdx); document.getElementById('tigerOut').innerHTML = `
【查找 "${raw}"${rangeNote}】
` + hits.map(h => `
${h.it.name}:${h.it.desc}
`).join(''); } };
策略窗口 · 大公司策略库(双策略已就绪) 已载入全部 2 条策略
① 机构级分批建仓与回撤熔断(CORP-STRAT-01 · 大公司标准策略)
分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。
② 跨品种相关性分散与节奏限速(CORP-STRAT-02 · 大公司标准策略)
多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。
硬性底线:人工随时开/关/喊停主权 · 历史上限 ≤ 2 年 · 不改 Lion1 基线 · 不连 AI-Commerce-OS · API 费用 .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0"; const STRAT_LIST = [ { key: "机构级分批建仓与回撤熔断", code: "CORP-STRAT-01", summary: "分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。" }, { key: "跨品种相关性分散与节奏限速", code: "CORP-STRAT-02", summary: "多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。" } ]; window.applyBigFirmStrategy = function(name) { const box = document.getElementById("strategyWindowBox"); const badge = document.getElementById("strategyMatchBadge"); const view = document.getElementById("strategyContentView"); if (box) box.style.display = "block"; if (!view) return; if (name === "ALL") { if (badge) badge.textContent = "已载入全部 2 条策略"; view.innerHTML = STRAT_LIST.map((s, i) => `
${i === 0 ? "①" : "②"} ${s.key}(${s.code} · 大公司标准策略)
${s.summary}
`).join("") + `
硬性底线:${BASELINE_STR}
`; return; } const hit = STRAT_LIST.find(s => s.key === name) || STRAT_LIST[0]; if (badge) badge.textContent = `已聚焦:${hit.code}`; view.innerHTML = `
当前策略:${hit.key}(${hit.code} · 大公司标准策略)
${hit.summary}
另一条已备策略:${STRAT_LIST.filter(s => s.code !== hit.code).map(s => s.key + "(" + s.code + ")").join(";")}
硬性底线:${BASELINE_STR}
`; if (typeof addFeed === "function") { addFeed(`【策略窗口】已切换大公司策略【${hit.key}】(${hit.code})`, "c-in"); } }; window.addEventListener("DOMContentLoaded", () => { window.applyBigFirmStrategy("ALL"); }); })(); .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0。
.0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })(); .0"; const STRAT_LIST = [ { key: "机构级分批建仓与回撤熔断", code: "CORP-STRAT-01", summary: "分批轻仓试探进场,不盲目一次性重仓;单日/单轮步进受人工开关与节奏控制约束,遇异常波动或人工喊停立即停摆。" }, { key: "跨品种相关性分散与节奏限速", code: "CORP-STRAT-02", summary: "多屏多标的并行观察时按独立窗口隔离输入,避免同一方向重复叠加敞口;任意窗口触发随时喊停即全局广播停止,支持随时刷新。" } ]; window.applyBigFirmStrategy = function(name) { const box = document.getElementById("strategyWindowBox"); const badge = document.getElementById("strategyMatchBadge"); const view = document.getElementById("strategyContentView"); if (box) box.style.display = "block"; if (!view) return; if (name === "ALL") { if (badge) badge.textContent = "已载入全部 2 条策略"; view.innerHTML = STRAT_LIST.map((s, i) => `
${i === 0 ? "①" : "②"} ${s.key}(${s.code} · 大公司标准策略)
${s.summary}
`).join("") + `
硬性底线:${BASELINE_STR}
`; return; } const hit = STRAT_LIST.find(s => s.key === name) || STRAT_LIST[0]; if (badge) badge.textContent = `已聚焦:${hit.code}`; view.innerHTML = `
当前策略:${hit.key}(${hit.code} · 大公司标准策略)
${hit.summary}
另一条已备策略:${STRAT_LIST.filter(s => s.code !== hit.code).map(s => s.key + "(" + s.code + ")").join(";")}
硬性底线:${BASELINE_STR}
`; if (typeof addFeed === "function") { addFeed(`【策略窗口】已切换大公司策略【${hit.key}】(${hit.code})`, "c-in"); } }; window.addEventListener("DOMContentLoaded", () => { window.applyBigFirmStrategy("ALL"); }); })(); .0"; function renderStrats(modeKey) { const view = document.getElementById("forceStratContent"); const badge = document.getElementById("forceStratBadge"); if (!view) return; if (!modeKey || modeKey === "ALL") { if (badge) badge.textContent = "已载入全部 2 条大公司策略"; view.innerHTML = STRATS.map(s => `
${s.title}(${s.code})
${s.desc}
`).join("") + `
硬性底线:${BASELINE}
`; return; } const hit = STRATS.find(x => x.code === modeKey) || STRATS[0]; if (badge) badge.textContent = `当前聚焦:${hit.code}`; view.innerHTML = `
${hit.title}(${hit.code})
${hit.desc}
另一条已就绪策略:${STRATS.filter(x => x.code !== hit.code).map(x => x.title + "(" + x.code + ")").join(";")}
硬性底线:${BASELINE}
`; } window.forceShowStrategy = function(modeKey) { const box = document.getElementById("forceStrategyBox"); if (box) box.style.display = "block"; renderStrats(modeKey || "ALL"); }; window.forcePopStrategyWin = function() { const content = document.getElementById("forceStratContent"); const htmlStr = content ? content.innerHTML : ""; const w = window.open("", "tiger_strat_popup_" + Date.now(), "width=720,height=460,left=120,top=90"); if (w) { w.document.write(`Selina 多屏终端

策略窗口 · 大公司策略库

${htmlStr} `); w.document.close(); } }; function mountBox() { if (document.getElementById("forceStrategyBox")) { renderStrats("ALL"); return; } const box = document.createElement("div"); box.id = "forceStrategyBox"; box.style.cssText = "display:block;margin:10px 0;padding:12px;border:2px solid #4c6ef5;border-radius:8px;background:#131926;color:#eef2ff;font-size:13px;z-index:999;"; box.innerHTML = `
策略窗口 · 大公司策略库 已载入全部 2 条大公司策略
`; const topBar = document.getElementById("topAuthBar"); if (topBar && topBar.parentNode) { topBar.parentNode.insertBefore(box, topBar.nextSibling); } else if (document.body) { document.body.insertBefore(box, document.body.firstChild); } renderStrats("ALL"); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", mountBox); } else { mountBox(); } })();