DeepSeek Harness 插件

dsh-stock-research

Evidence-backed end-of-day stock research for DeepSeek Harness(英文原文)

跳到安装方式

来源信息

GitHub 仓库
luoyuejun9/dsh-stock-research
最近更新
2026年8月16日
分类
文档与渲染
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/luoyuejun9/dsh-stock-research
插件名:dsh-stock-research
作者:luoyuejun9

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.md来源说明 · 只读预览
README 语言

dsh-stock-research

![CI](https://github.com/luoyuejun9/dsh-stock-research/actions/workflows/ci.yml) ![MIT License](LICENSE)

Evidence-backed, end-of-day equity research for DeepSeek Harness. It supports mainland China, Hong Kong, and US tickers; produces research packets for the agent; and explicitly separates source data from model inference.

中文说明见 README.zh-CN.md.

> This plugin is for research and education. It is not investment advice, does not place trades, and never produces buy/hold/sell instructions.

What it does

  • Normalizes 600519.SH, 00700.HK, and AAPL into a common research packet.
  • Uses Tushare as the primary data source and Alpha Vantage as a field-level REST fallback.
  • Computes transparent price, growth, profitability, cash-conversion, volatility, and drawdown metrics locally.
  • Emits source endpoint, fetch timestamp, market, native currency, coverage status, and missing-data reasons with every packet.
  • Caches non-secret provider responses under .dsh/stock-research/cache/; credentials are never written to disk or logs.

Install from GitHub

git clone https://github.com/luoyuejun9/dsh-stock-research.git
cd dsh-stock-research
npm ci
dsh plugin --profile web add .

The first release is pinned to DeepSeek Harness 0.1.0-rc.6 and Node.js >=22.19.

The project is released on GitHub; npm publication is intentionally not automated.

Configure data sources

Set secrets in your shell or DSH runtime environment, never in a committed file:

export TUSHARE_TOKEN="your-token"
export ALPHAVANTAGE_API_KEY="your-key" # optional fallback

Tushare is the recommended primary source for A/HK/US coverage. Alpha Vantage is an optional fallback for supported global daily data, basic US fundamentals, and news. Its free service has a small daily allowance, so the plugin caches responses and only calls it when Tushare cannot provide a component. Review the provider terms and the entitlement of each endpoint before use.

SourceRoleCredentialNotes
TusharePrimaryTUSHARE_TOKENCoverage and permissions vary by endpoint and account points.
Alpha VantageFallbackALPHAVANTAGE_API_KEYFree access is rate-limited; do not use it as a high-frequency feed.

Run /stock doctor after configuration. It reports configuration and local policy only; it does not reveal credentials or make a network request.

Use

/stock doctor
/stock analyze 600519.SH
/stock analyze 00700.HK --compare 9988.HK,JD
/stock analyze AAPL --as-of 2026-08-14
/stock compare 600519.SH 00700.HK AAPL

The /stock analyze command queues a Chinese research report. The report must show its cutoff date, native currency, coverage gaps, sources, factual data, model inferences, risks, and bull/base/bear scenarios. It may not silently invent missing financials, events, or valuation figures.

Data and privacy model

  • End-of-day research only. It makes no real-time-data claim.
  • Monetary values stay in the listing currency. Cross-market comparisons use ratios and percentages; this version does not convert currencies.
  • Cached data uses restrictive local permissions. Cache keys do not contain credentials.
  • Provider request errors, quotas, missing entitlements, unsupported tickers, and stale cache conditions are surfaced in gaps rather than hidden.
  • Raw provider data may be subject to provider licenses; this repository's MIT license applies only to plugin code.

Development

npm ci
npm run check
npm run pack:check

Live provider checks are intentionally not part of CI. They require your own credentials and must not commit a cache or fixture containing a credential.

See [CONTRIBUTING.md](CONTRIBUTING.md), [SECURITY.md](SECURITY.md), [docs/data-sources.md](docs/data-sources.md), and [CHANGELOG.md](CHANGELOG.md).

License

[MIT](LICENSE) © 2026 Louis Luo