Realyujie/dsh-us-stocks 预览 preview

Realyujie/dsh-us-stocks

Plugin插件 Native原生 ⭐ 8 MIT Data & Analysis数据与分析

面向DeepSeek Harness的美国股市数据工具,基于yahoo-finance2构建

Project Overview项目介绍

dsh-us-stocks is a native plugin built exclusively for DeepSeek Harness (DSH) that provides six dedicated tools for retrieving US stock market data via the yahoo-finance2 library. Without this plugin, DSH agents would need to fall back on web scraping and ad-hoc parsing to get stock data, which is slow, inefficient, and often error-prone. The six tools natively integrated with DSH cover real-time quotes, historical price trends, full financial statements, analyst consensus ratings, recent market news, and institutional ownership data. It cuts down a typical multi-step stock analysis query from over 3 minutes to under 3 seconds, per the project’s benchmark data.

You can install the plugin directly through the DSH interface by sending a simple install command to the DSH agent, or manually via the DSH command line interface. For users who run DSH via npx, you can prefix all plugin commands with npx @deepseek-ai/dsh instead of installing DSH globally on your system. You can also update the plugin later via the same CLI command you used to install it. After installation, you can ask your DSH agent any US stock related questions, from checking a stock’s current price to pulling full quarterly financial statements for analysis.

The plugin is released under the open source MIT license, and includes built-in in-memory caching to reduce redundant requests to Yahoo Finance and speed up overall response times. The plugin also supports concurrent request de-duplication to avoid unnecessary upstream calls. Currently, it only supports US equities, and pulls data from Yahoo Finance’s unofficial, undocumented API, which is rate-limited and subject to change without notice. All data is provided for research purposes only, and does not constitute investment advice. Developing the plugin locally requires Node.js version 22.19.0 or newer.

这是一个专为 DeepSeek Harness 开发的原生插件,基于 yahoo-finance2 为 DSH 智能体提供六类结构化的美股市场数据工具。相比于无插件时代理依赖网页搜索和命令行爬取零散数据,该插件能直接返回规整的美股信息,涵盖实时报价、历史价格走势、财务报表、分析师评级、最新新闻和机构持仓。

普通用户可直接在 DeepSeek Harness 中输入指令完成自动安装,也可通过 DSH CLI 手动添加该插件。安装后即可让智能体回答各类美股分析问题,比如查询苹果公司当前股价、季度财报、分析师目标价和近期相关新闻,适合个人投资者、金融研究者和需要美股数据做分析的用户使用。

该插件采用 MIT 许可证开源,支持缓存重复请求以提升响应速度、减少上游调用次数。目前仅支持美股市场,数据来自雅虎财经的非官方未公开API,存在限流和变更可能。数据仅供研究使用,不构成任何投资建议,本地开发需要 Node.js 22.19.0 及以上版本。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
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 dsh-us-stocks

把 Realyujie/dsh-us-stocks 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-us-stocks

npm license node dsh-plugin Awesome DSH Plugin

English | 中文

dsh-us-stocks cover

US stock market data tools for DeepSeek Harness, powered by yahoo-finance2.

Gives the agent six first-class tools for quotes, price history, financial statements, analyst consensus, news and ownership — instead of leaving it to improvise against HTML pages.

Six tools for one ticker: quote, history, financials, analyst view, news, ownership. Same AAPL task: 31 calls in 213s without the plugin, 5 calls in 33s with it.

Before and after

One agent turn, same question, same model, same machine — the only variable is whether the plugin is installed. The task: price, three-month trend, recent quarterly financials, analyst rating and recent news for AAPL.

Without this plugin With this plugin
Steps 14 2
Tool calls 31 5
Wall clock 213.5s 33.2s
What it called 16 × web_search, 15 × bash one call to each tool the task needed

With no market-data tool available, the agent falls back on web search and shell commands, fetching and parsing one page at a time. Most of the remaining 33 seconds is model inference, which no plugin controls; data retrieval itself is 2.6s.

Acceptance benchmark — AAPL
Acceptance benchmark — AAPL

  ✅ get_quote           2016ms  305.93 USD (+0.2195%), mcap 4464.80B
  ✅ get_history          446ms  62 bars 2026-05-18..2026-08-14
  ✅ get_financials      2181ms  4 income / 4 balance / 4 cash-flow periods
  ✅ get_analyst_view    2492ms  buy from 41 analysts, target 322.2844
  ✅ get_news             632ms  8 headlines, latest "Google is using a $29 gadget to tighten its gri…"
  ✅ get_ownership       3135ms  66.48% institutional across 7709 filers, insiders net 35206 shares over 6m

  tool calls        6
  wall clock        3.14s (concurrent)
  payload           26.2 KiB across 6 results

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

← 上一个 Prev dsh-aemeath 下一个 Next dsh-sidenote →