Realyujie/dsh-us-stocks

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

Bundle 已验证 MIT TypeScript v0.3.0
Bundle 已验证

已收录

5

Tools

Bundle 已验证

版本v0.3.0
语言TypeScript
许可证MIT
在 GitHub 查看

预览

功能介绍

美股行情、历史 K 线、财务报表、分析师共识与新闻,数据来自 yahoo-finance2。

适合

  • 需要结构化美股行情、历史价格、财报、分析师共识、新闻和持仓数据的研究者。
  • 需要分析美股或美国上市基金多个维度、并希望避免抓取 HTML 页面的 agent。
  • 需要结构化 OHLCV 数据及浏览器 K 线视图的工作流。

不适合

  • 非美国市场;目前只支持美股。
  • 交易执行或个性化投资建议工作流;这些数据用于研究。
  • 要求官方、稳定或不限流的市场数据 API 的应用;Yahoo 接口非官方、无公开文档且有限流。
  • 低于文档所述 Node.js `22.19.0` 要求的环境。

README

dsh-us-stocks

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.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:Realyujie/dsh-us-stocks。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。