D
@weaxs/dsh-stock-analysis
v0.1.10 · 0 天前发布
DeepSeek Harness (dsh) plugin for stock analysis, screening, and strategy backtesting across A/HK/US/JP/KR/TW markets
README
Stock Analysis — DeepSeek Harness (dsh) Plugin
A股 / 港股 / 美股 / 日股 / 韩股 / 台股 行情、技术分析、筛选与回测。作为 dsh bundle 安装到 profile 后,对话中可调用 39 个工具,并自动注册 20 个工作流/策略方法论 skill。
安装
bash
dsh plugin --profile <你的profile> add @weaxs/dsh-stock-analysis
dsh --profile <你的profile>
dsh plugin add 是 pnpm 的薄封装:安装后 dsh 会读取本包 package.json 里的 dsh.bundle.patch,把 cordis.patch.yml 作为一层叠加进 profile 组合。可用 dsh --profile <你的profile> --dump-config 验证 layer 已生效。
从源码安装(本仓库根目录):
bash
npm install && npm run build:dsh
dsh plugin --profile <你的profile> add ./dsh
Python 运行时
工具实际逻辑在 tools/*.py,依赖 akshare、pandas、numpy、requests。本包的 postinstall(scripts/setup-python.mjs)会在包目录下自动建 .venv 并装好依赖,前提:本机有 python3 >= 3.9。
注意:dsh profile 使用 pnpm 且默认不执行第三方包的安装脚本。如 postinstall 被跳过,请在 profile 的 `pn
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @weaxs/dsh-stock-analysis
- Repo
- git+https://github.com/Weaxs/stock-analysis-plugin.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}