dshbase

Plugin directory / Data / dsh-a-stock-select

dsh-a-stock-select

Verified · install-tested on dsh ct188579

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
—Language
2026-08-15Last push
Cross-platformPlatform

What it does

基于 a-stock-data(A股数据源) 开发的 DSH 技能插件:将 a-stock-data V3.6.1 的全部 47 个数据端点内嵌合并,叠加四大策略筛选逻辑、持仓诊断流程与强制风控纪律,做成自包含的 SKILL.md——零外部依赖、开箱即用。同时打包为 npm 插件,支持 dsh 命令一键安装。

✅
Our take
Works — verified, early-stage project

基于 a-stock-data(A股数据源) 开发的 DSH 技能插件:将 a-stock-data V3.6.1 的全部 47 个数据端点内嵌合并,叠加四大策略筛选逻辑、持仓诊断流程与强制风控纪律,做成自包含的 SKILL.md——零外部依赖、开箱即用。同时打包为 npm 插件,支持 dsh 命令一键安装。 It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-a-stock-select — A股选股与持仓诊断插件(DSH Skill / npm 插件包)

⚠️ 股市有风险,入市需谨慎。本插件所有输出仅供研究参考,不构成任何投资建议,盈亏自负,亏损与作者、本工具及数据来源无关。

基于 a-stock-data(A股数据源) 开发的 DSH 技能插件:将 a-stock-data V3.6.1 的全部 47 个数据端点内嵌合并,叠加四大策略筛选逻辑、持仓诊断流程与强制风控纪律,做成自包含的 SKILL.md——零外部依赖、开箱即用。同时打包为 npm 插件,支持 dsh 命令一键安装。

功能

  • 四大选股策略:超短线(1–3 交易日)/ 短线(1–4 周)/ 中线(1–6 个月)/ 长线(6 个月以上),每个策略都带完整的「取数 → 筛选 → 输出」流水线
  • 持仓诊断:7 步真实数据核查后给出明确结论(持有 / 减仓 / 清仓) + 支撑位 / 压力位 / 止损位 + 触发条件
  • 内置数据源:a-stock-data V3.6.1 全文内嵌(行情 / 研报 / 资金流 / 龙虎榜 / 解禁 / 涨停池 / 财务三表 / 公告等 47 端点全部可运行代码)
  • 强制风控:每个策略强制止损纪律;不推荐 ST / 重点监控池 / 跌停池标的;每次输出强制附带风险提示与免责声明

一键安装(dsh 命令)

需要本机已安装 dsh 与 pnpm:

dsh plugin --profile web add dsh-a-stock-select

安装后重启 dsh,技能 a-stock-select 即自动注册到该 profile(包内声明 dsh.bundle,dsh plugin 会自动将其加入 profile 的 bundle 层)。也支持任意 profile 名(如 tui / headless)。

手动安装(复制 SKILL.md)

mkdir -p ~/.dsh/skills/a-stock-select
cp SKILL.md ~/.dsh/skills/a-stock-select/SKILL.md
pip install requests pandas stockstats mootdx   # 需要 python3 环境

DSH 会自动发现 ~/.dsh/skills/ 下的技能并在所有会话中生效。本插件亦可直接用于 Claude Code:复制到 ~/.claude/skills/a-stock-select/ 即可。

使用示例

  • 「推荐几只短线股票」「帮我按长线选股」
  • 「我持有大唐发电,成本 X 元,怎么办」
  • 「下周有什么方向」

致谢与版权

  • 数据端点与全部数据函数来自 a-stock-data(作者 Simon 林 · X @linsizhen),版权归原作者所有;本项目仅做整合与策略层扩展,未修改其数据接口逻辑(仅新增 §1.4 tencent_dayk() 等修复补丁)。
  • 选股策略、持仓诊断流程、风险控制纪律、npm 打包与 DSH 插件注册为本项目新增内容。

⚠️ 风险提示(必读)

  1. 本插件输出基于公开数据整理,仅供参考,不构成任何投资建议。
  2. 股市有风险,入市需谨慎。任何买入、卖出、持有决策请结合自身风险承受能力与实际情况独立判断。
  3. 数据可能存在延迟、缺失或错误(接口可能因风控/网络不可达,已内置降级链);据此操作,盈亏自负,亏损与作者、本工具及数据来源无关。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-a-stock-select for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:ct188579/dsh-a-stock-select

Headless (CLI) profile:

dsh plugin --profile headless add github:ct188579/dsh-a-stock-select

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Data

Browse all 7819 plugins →