LisonEvf/dsh-stock-panel 预览 preview

LisonEvf/dsh-stock-panel

把 DSH 会话窗口变成 A 股盯盘执行台:行情仪表盘 · 盘后复盘七步 · 模型作战思路 · 自挖板块(无监督共动聚类 + LLM 命名)· 个股工作台 · 选股筛选 · 监控提醒

Project Overview项目介绍

@lisonevf/dsh-stock-panel is a web bundle plugin built specifically for the DeepSeek Harness dsh runtime, registered via dsh plugin --profile web add and mounted into the conversation page's right-hand full-height view slot as a persistent "A股工作台" tab. Installation is a single command against the prebuilt tarball at the GitHub Release URL (lisonevf-dsh-stock-panel-1.6.0.tgz), and because pnpm skips lifecycle build scripts for that asset no extra flags or credentials are required; users can alternatively install straight from main by appending --config.dangerouslyAllowAllBuilds=true, which forwards the flag to pnpm and triggers an on-the-fly build that takes roughly 50 seconds, after which dsh web must be restarted and the browser hard-refreshed (Ctrl+Shift+R) so the new bundle is picked up by the in-page __ModuleLoader__.

The plugin is organised around the A-share trading day: after-close review walks a seven-step checklist and persists a next-day expectation list (capped at five items across seven fields), the pre-open auction compares each item line by line, intraday the UI deliberately exposes only three questions, and the closing auction helps finalise positioning, while seven views (Market, Review, Battle Plan, Self-Mined Sectors, Workbench, Screener, Alert Rules) follow the clock automatically until the user clicks a nav entry, after which manual navigation takes over. Data flows through the host-side bridge which registers 19 built-in tools — 15 market tools plus 4 self-mined-concept tools, of which 8 are also surfaced to the conversation agent — and all upstream endpoints are configured by the user, because the plugin ships and redistributes no market data of its own; connection failures surface as a visible red banner rather than silent empty states.

The most distinctive feature is the "Self-Mined Sectors" view, which derives sector groupings from the market's own money flow rather than vendor labels: it computes 60-day residual returns over the A-share universe (with optional PCA and market-mean removal), builds a Pearson correlation matrix, applies hierarchical clustering with edge-cutting, filters weak and transitive links plus isolated names, then batches the surviving clusters to the LLM for naming in roughly 35 seconds, displaying each cluster with a strength bar and source pill (model theme, official industry, or official concept) alongside a diff against official classifications. Strict non-goals are enforced in the README: no stock picks, no price predictions, no buy/sell signals, no win-rate claims, and AI output is always read-only — the "一键研判" action routes through the host's ctx.llm for strict JSON, and nothing the model produces is ever written into the user's list unless the user clicks "+" on each item individually, so personal drafts are never overwritten. Prerequisites are Node.js 18+ and a global @deepseek-ai/dsh install, the tag #v1.6.0 will not install (it predates a publish script rename), and engineering quality is held by a CI suite including a 26-rule ux-contract gate, density and contrast checks, a 665 KB client bundle budget, and 93 naming-related assertions across 28 offline node:test files, all under the MIT license.

@lisonevf/dsh-stock-panel 是一个挂在 DeepSeek Harness(dsh)web profile 上的 Web 插件包,安装后会在会话页右侧「对话」旁边新增一个「A股工作台」标签页,作为整页视图槽位常驻展示。安装方式只有一条命令:dsh plugin --profile web add https://github.com/LisonEvf/dsh-stock-panel/releases/download/v1.6.0/lisonevf-dsh-stock-panel-1.6.0.tgz,tarball 已含构建产物、pnpm 不再跑构建脚本,装完重启 dsh web 并硬刷新浏览器即可生效;也可以走 main 分支现场构建(需 --config.dangerouslyAllowAllBuilds=true,约 50 秒)。它通过 host 半进程内的数据桥接调用 19 个内置工具(行情 15 + 自挖概念 4),数据端点由使用者自行配置,插件不内置也不分发任何行情数据。

整套界面按 A 股时间表组织:盘后走七步复盘输出次日预期清单、次日竞价逐条对照、盘中只回答三个问题、尾盘定仓,七个视图——行情、复盘、作战、自挖板块、工作台、选股筛选、监控规则——会跟随时段自动切换,手动点过导航后停止跟随。最具特色的是「自挖板块」:用全 A 60 日残差收益、Pearson 相关矩阵与层次聚类切边,把市场自己的资金共动关系聚成板块,再批量交给模型命名归类(约 35 秒出结果),并与官方行业/概念做差异对照,每类带强度条与「模型主题 / 官方行业 / 官方概念」来源胶囊;监控规则在任何视图下都常驻生效,靠 AlertWatcher 推 Toast 与徽标。目标用户是已有合法行情数据源、需要把盘后复盘、竞价对照、盘中决策、尾盘定仓串成一条工作流的个人 A 股盯盘者,尤其看重密度、对比度与构建门禁纪律的工程型用户。

前置依赖 Node.js 18+ 与本机全局安装的 @deepseek-ai/dsh,发布渠道只有 GitHub Release 资产一条(由 pnpm release:asset 生成);注意 #v1.6.0 这个 tag 无法安装(早于 publish 改名),git 安装请用 #main 或 ≥ 25dc05d 的提交号。明确不做的边界:不荐股、不预测涨跌、不给买卖点、不展示胜率、不承诺收益,「一键研判」调用的也是 host 的 ctx.llm,AI 输出永远只读、必须逐条点「+」才写进清单,不会覆盖用户草稿。CI 通过 26 条 ux-contract 门禁、密度与对比度校验、665KB 客户端体积护栏与 93 条命名相关断言守住工程质量;详细配置、排障与字段口径见 USER-GUIDE.md 与 MCP-SETUP.md,协议为 MIT。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://github.com/LisonEvf/dsh-stock-panel/releases/download/v1.6.0/lisonevf-dsh-stock-panel-1.6.0.tgz

把 LisonEvf/dsh-stock-panel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

A股工作台 · @lisonevf/dsh-stock-panel

把你的 AI 会话窗口,变成一块 A 股盯盘执行台。

盘后复盘写清单 → 次日竞价对照 → 盘中只答三个问题 → 尾盘定仓。 界面按这套时间表组织,而不是让你在三十个标签页里找。

一句话安装(装完重启 dsh web,会话页就多一个「A股工作台」):

dsh plugin --profile web add https://github.com/LisonEvf/dsh-stock-panel/releases/download/v1.6.0/lisonevf-dsh-stock-panel-1.6.0.tgz

行情:一屏仪表盘


它是什么

一个挂在 dsh(DeepSeek Harness)里的 Web 插件,占会话页「对话」右侧的整页视图槽位。

它不是又一个行情软件。同花顺、通达信能给你的数据,它一个都不多给。

它解决的是另一个问题:

盯盘的人真正缺的不是"更多数据",而是**"在正确的时间,只回答正确的问题"**。

所以这个插件的每个页面都绑定在时间表上:盘后它能陪你走完七步复盘、输出一份次日预期清单并存档;次日竞价你能拿着清单逐条对照;盘中它只留三个问题;尾盘它帮你定仓。页面会跟着时段自己切换(手动点过导航就不再跟随)。


七个视图

视图 它干什么
行情(默认入口) 一屏仪表盘:环境带(涨跌家数 / 涨停跌停 / 强势弱势 / 最高连板 / ≥2板晋级 / 两市成交 + 涨跌分布横条)→ 指数(含图)│ 涨停梯队 → 榜单 │ 市场异动。整页不滚动,各块内部滚动;列数按容器实测宽度自动分档(1440px 三列档,780px 两列档)
复盘 盘后七步流程,输出次日预期清单(≤5 条 / 7 字段)并存档
作战 第一屏就是模型读完盘面素材给的作战思路:主攻方向 → 候选票(含触发/失败条件)→ 三问落点 → 持仓动作 → 竞价判定。你只做采纳 / 修改 / 驳回
自挖板块 无监督共动聚类 + 模型命名归类(下面单独讲,这是最有意思的一块)
工作台 点左栏任意一行即到:报价头 + 日K⇄分时 + 资金 / 逐笔 / 竞价 + 右栏 AI
选股筛选 快照条件筛选 + MA 信号 + AI 排序(AI 结果带 AI#n 徽标,只做参考)
监控规则 你设规则,常驻 AlertWatcher 推 Toast 与徽标——不占主区,任何入口下都生效
复盘:七步流程 作战:模型给今天的作战思路
复盘 作战
自挖板块:共动聚类 + 模型命名 工作台:个股(日K⇄分时 + 资金 / 逐笔 / 竞价)
自挖板块 工作台
选股筛选:快照筛选 + MA 信号 + AI 排序 监控规则:规则与命中
选股筛选 监控规则
AI 决策卡 右栏常驻的 AI 决策卡(左为特写)

「一键研判」经 host 半直调官方 ctx.llm 拿严格 JSON,归一后回填四处:这张决策卡(立场 / 把握分 / 支撑要点 / 风险)、主图关键价位线、复盘预期排序参考区、选股 AI 排序。

结果永远只读——逐条「+」才写进你的清单,已在清单的条目标注而不重复插入。

三个真正不一样的地方

一、自挖板块:让市场自己告诉你它把哪些票当成了一个板块

官方概念板块是厂商预制的,而且经常滞后——等你看到"某某概念"上榜,行情已经走完一半。

这个视图换了个思路:不看标签,看钱。

全 A 快照
  → 60 日残差收益(去市场均 + 可选 PCA)
  → Pearson 相关矩阵
  → 层次聚类切边
  → 过滤「弱链 / 传递链」伪类与孤立票
  → 批量交给模型命名归类(实测约 35s 出名字)
  → 与官方行业/概念做差异对照

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev organon 下一个 Next dsh-cc-ecosystem →