linhut/dsh-stock-terminal
(c) 2026 Jose AI (https://www.linhut.cn) https://github.com/linhut/dsh-stock-terminal Licensed under the MIT License. See the LICENSE file for details. -->
catalog descriptioncatalog 简介 / catalog description:股市行情皮肤+功能插件:DSH Web GUI 全局交易终端视觉 + 实时行情面板(A股/港股/美股/加密/外汇),自选跑马灯、首字母模糊搜索、持仓盈亏管理
Project Overview项目介绍
This is a native DSH plugin built exclusively for the DSH Web GUI, combining a custom trading terminal UI skin with a full set of real-time stock market monitoring tools. It supports tracking symbols across six asset classes: A-shares, Hong Kong shares, US shares, market indexes, cryptocurrencies, and foreign exchange. Core features include a scrolling ticker for watchlists, fuzzy search by pinyin initials or code, position profit and loss tracking, and an interactive candlestick chart viewer with zoom and pan. It fully adapts to both DSH's light and dark themes, and isolates its own faults so issues never break core DSH functionality.
Originally, the plugin was distributed via npm, but the npm package was taken down, so current recommended methods are local one-click install or manual install. The local one-click install method bypasses the npm registry entirely and copies files directly to the DSH profile while writing the required bundle patch. For users who prefer to install via the DSH plugin marketplace, the plugin has been submitted to the official awesome-dsh-plugin directory and can be found by searching for “stock” after it is merged. All installation methods require a restart of the DSH Web process for the plugin to load correctly.
All user configuration data, including watchlist entries, position details, and user preferences, is stored in the browser’s localStorage, so it persists across browser and DSH restarts. The plugin ships with a built-in compliance checker that validates 21 separate requirements aligned with DSH’s official plugin specification, from metadata format to dependency declarations to encoding standards. Users can adjust the market data refresh interval between 15, 30, and 60 seconds, and the plugin automatically pauses polling when the DSH page is hidden to save system resources. All external API requests include timeouts and fault fallbacks to ensure a smooth experience even when data sources are unavailable.
这是一款专为 DeepSeek Harness(DSH)Web 端设计的原生插件,同时提供交易终端风格 UI 皮肤和实时股市行情监控功能,支持 A 股、港股、美股、指数、加密货币、外汇全品类盯盘。它给 DSH 添加了独立行情面板、自定义顶栏和状态栏,核心功能包括自选股跑马灯、首字母模糊搜索、持仓盈亏管理、交互式 K 线查看,完整适配 DSH 亮暗双主题切换,故障隔离不影响 DSH 本体运行。
本插件提供四种安装方式,分别为 CLI 一键安装、手动安装、插件市场安装和本地一键安装。由于原 npm 包已从官方注册表下架,目前推荐使用本地一键安装或手动安装,绕过 npm 注册表直接完成文件拷贝和补丁写入。用户也可在 DSH 官方插件市场收录完成后,在「设置-插件市场」搜索 stock 进行一键安装,任何安装方式后都需重启 DSH Web 才能加载生效。
本插件内置合规检查工具,可按照 DSH 官方插件规范检查 21 项内容,包括元数据格式、依赖声明、API 适配、编码规范等,确保符合 DSH 插件收录要求。用户的自选股、持仓、设置偏好等全部数据存储在浏览器 localStorage 中,重启不丢失,行情刷新间隔支持用户自定义调整,页面隐藏时会自动暂停轮询节省资源。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-stock-terminal(linhut/dsh-stock-terminal)
仓库:https://github.com/linhut/dsh-stock-terminal
本站详情页:https://www.yhbd.top/plugins/linhut-dsh-stock-terminal/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 7 · 最近提交 2026-09-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 github:linhut/dsh-stock-terminal
把 linhut/dsh-stock-terminal 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
📈 dsh-stock-terminal · 股市行情皮肤 + 功能插件
DSH Web GUI(DeepSeek Harness)行情皮肤与功能插件:全局交易终端视觉 + 实时行情面板。 自选跑马灯、首字母模糊搜索、持仓盈亏管理,A股 / 港股 / 美股 / 指数 / 加密 / 外汇一站式盯盘。
✨ 功能亮点
| 能力 | 说明 |
|---|---|
| 🎨 交易终端皮肤 | 顶栏 K 线品牌图标 + 标题 + 持仓摘要芯片 + 设置齿轮 + 仿终端窗口按钮;红涨绿跌(亮/暗双主题完整 CSS 变量切换);自定义 K 线 favicon 和页面标题 |
| 📢 实时行情跑马灯 | 自选列表无缝循环滚动,hover 暂停;点击任一品种弹出个股 K 线图(日K/周K/月K 可切换) |
| 📈 个股 K 线弹窗 | 日K / 周K / 月K 一键切换;鼠标滚轮缩放(锚点缩放,20~200 根)+ 拖拽平移查看历史/近期;十字光标(hover 竖线+横线 + OHLC 浮层 + 价格轴/日期轴联动标注);蜡烛图 + MA5/MA10 均线 + 成交量幅图 + 价格/日期轴 + 网格 + 区间涨跌统计;Esc/遮罩/✕ 关闭;窗口 resize 自适应重绘;A股/港股/指数走腾讯前复权,美股腾讯不足时回退 Yahoo,加密货币走 Binance;服务端 60s 缓存 + 在途去重 |
| 🧭 自选列表 | 增删 / ↑↓ 排序 / 移除;拼音首字母 + 代码 + 名称模糊搜索联想(如 gzmt → 贵州茅台、600519、茅台),内置 130+ 品种词典 + 在线 API 兜底,键盘 ↑↓ Enter Esc 操作 |
| 💼 持仓管理 | 模糊搜索添加持仓(与自选同款联想体验);代码 + 数量 + 成本价 → 现价 / 市值 / 浮动盈亏 / 盈亏率,底部汇总总市值 / 总盈亏 / 总盈亏率;编辑 / 删除持仓 |
| 🔔 持仓盯盘提醒 | 每个持仓可设「盯盘高价 / 盯盘低价」(≥高价触发涨提醒、≤低价触发跌提醒),一次预警后标记已触发可手动重置重新武装;持仓行🔔快捷设置 + 表单字段双入口;状态栏实时显示激活盯盘数;触发时页面 Toast + 浏览器桌面通知(Notification API)双重提醒,首次设置时自动请求授权 |
| 🏷 标题栏持仓摘要 | 持仓个股名称 + 涨跌幅按标题栏宽度自适应显示,超宽时自动收起为「等 N 只」+ 总盈亏芯片;窗口 resize 重新适配 |
| 📏 伸缩条 | 拖动面板顶部伸缩条调整面板高度(替代 CSS resize 右下角把手),高度持久化到 localStorage |
| ⏱ 交易时段 | 状态栏实时显示 A股 / 港股 / 美股 盘中·午休·盘前·休市,每分钟自动刷新(Intl.DateTimeFormat 按 Asia/Shanghai、Asia/Hong_Kong、America/New_York 判定) |
| 📊 指数快照 | 状态栏中部实时快照:上证 / 深成 / 创业板 / 恒指 / 道指 / 纳指 |
| 🔔 状态栏总盈亏 | 状态栏右侧显示持仓总盈亏 / 总盈亏率,随行情实时更新 |
| ⚙ 三入口设置 | 状态栏「行情」按钮 + 标题栏齿轮 + 面板内「设置」页签;DSH 系统设置侧边栏出现独立「股市行情」分区(可管理刷新间隔 / 跑马灯开关 / 自选 / 持仓) |
| 🔄 刷新间隔可调 | 15 / 30 / 60 秒可调(系统设置卡与面板内设置同步),页面隐藏时暂停轮询、回到前台立即刷新 |
| 🗃 数据持久化 | 自选 / 持仓 / 面板高度 / 刷新间隔 / 跑马灯开关 全部存浏览器 localStorage,重开不丢 |
| 🌙 亮暗双主题 | 完整跟随 DSH 深色/浅色主题,全套 CSS 变量切换,跑马灯 / K 线 / 面板 / 状态栏所有元素适配 |
| 🛡 故障容错 | 全部数据源失败 toast 一次性提示并自动重试;代理失败自动降级浏览器直连;宿主 apply 全部 try/catch 容错,模块零第三方依赖,坏也只影响自身功能,不影响 DSH 本体 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nexu-io/open-design
EthanYoQ/AI-Novel-Writer
omdsh-dev/dsh-browser
fufankeji/deepseek-harness-studio
EthanYoQ/Invoice-Downloader
Clarklevis1995/dsh-mobile
ZSeven-W/dsh-ios