🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI

金融插件套件 hanjixin/dsh-finance-plugins

DeepSeek Harnessv1.6.1
hanjixin70 天前有提交已提供中文文档扫描:高危

为智能体接入行情、风控与量化分析等金融能力

29.8/100
综合分
3
GitHub 星标
—
npm 周下载
—/5
用户评分

数据截至 2026/9/18 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。

自动兼容检查未通过:缺少 main/exports/bin 入口声明;仓库 package.json 标记 private,未发布到 npm,需从源码安装。以下命令仍可尝试,但可能失败。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add hanjixin/dsh-finance-plugins
该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)

状态速览

判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态
信任档位:需留意
是什么
dsh 原生插件 · ui
装得上吗
实装验证未通过(download_interrupted),装前请到仓库确认最近更新与 issue
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 70 天前
档位由哪些信号合成

本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。

验证判据与等级说明 →
⚠︎ 实装验证未通过(download_interrupted · 2026/9/25) ——可能是验证环境差异,装前建议到 GitHub 仓库确认最近更新与 issue。
社区实装还没有人打卡 · 装过的第一个就是你
安装兼容性检查需源码安装

缺少 main/exports/bin 入口声明;仓库 package.json 标记 private,未发布到 npm,需从源码安装

展开查看检查明细 ↓

以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。

✓npm 包projects @ 1.6.1
✓Node 引擎未声明 engines.node
✓dsh CLI 依赖未声明 dsh 版本约束
✗入口文件缺少入口声明

源码安装时若 pnpm 拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑。

验证方式:npm registry 存在性 + package.json 静态校验 · 最后检查 2026/9/21 23:51:13

🔴 安全扫描发现高危能力自动 · 静态分析源码
v2.7.0
🔴 扫描:高危尚无人工评估

静态扫描发现安装期即执行代码,或命令参数由运行时变量拼接(参数来源无法静态判定,从严处理)。

安装时即执行脚本发起外部网络请求
查看扫描证据(共 31 处,展示前 31 条)
  • 请求外部主机qt.gtimg.cn
    plugins/dsh-tool-a-stock/src/index.js:26
    const res = await fetch(`https://qt.gtimg.cn/q=${prefix}${code}`);
  • 发起网络请求
    plugins/dsh-tool-a-stock/src/index.js:26
    const res = await fetch(`https://qt.gtimg.cn/q=${prefix}${code}`);
  • 请求外部主机qt.gtimg.cn
    plugins/dsh-tool-a-stock/src/index.js:80
    const res = await fetch(`https://qt.gtimg.cn/q=${symbols}`);
  • 发起网络请求
    plugins/dsh-tool-a-stock/src/index.js:80
    const res = await fetch(`https://qt.gtimg.cn/q=${symbols}`);
  • 发起网络请求
    plugins/dsh-tool-credit-scoring/src/index.ts:160
    const res = await fetch(endpoint, {
  • 发起网络请求
    plugins/dsh-tool-credit-scoring/src/index.ts:202
    const res = await fetch(endpoint, {
  • 发起网络请求
    plugins/dsh-tool-crypto/src/index.ts:83
    const res = await fetch(url, {
  • 发起网络请求
    plugins/dsh-tool-crypto/src/index.ts:138
    const res = await fetch(url, {
  • 发起网络请求
    plugins/dsh-tool-crypto/src/index.ts:192
    const res = await fetch(url, {
  • 发起网络请求
    plugins/dsh-tool-esg/src/index.ts:126
    const res = await fetch(`${endpoint}?symbol=${encodeURIComponent(symbol)}`, {
  • 发起网络请求
    plugins/dsh-tool-esg/src/index.ts:167
    const res = await fetch(`${endpoint}?ticker=${encodeURIComponent(symbol)}`, {
  • 发起网络请求
    plugins/dsh-tool-forex/src/index.ts:50
    const res = await fetch(url);
  • 发起网络请求
    plugins/dsh-tool-forex/src/index.ts:91
    const res = await fetch(url);
  • 发起网络请求
    plugins/dsh-tool-forex/src/index.ts:147
    const res = await fetch(url);
  • 发起网络请求
    plugins/dsh-tool-fund-analysis/src/index.ts:48
    const navRes = await fetch(navUrl, {
  • 发起网络请求
    plugins/dsh-tool-fund-analysis/src/index.ts:70
    const detailRes = await fetch(detailUrl, {
  • 发起网络请求
    plugins/dsh-tool-fund-analysis/src/index.ts:193
    const res = await fetch(detailUrl, {
  • 请求外部主机fund.eastmoney.com
    plugins/dsh-tool-fund-data/src/index.js:24
    const res = await fetch(`https://fund.eastmoney.com/pingzhongdata/${fundCode}.js`, {
  • 发起网络请求
    plugins/dsh-tool-fund-data/src/index.js:24
    const res = await fetch(`https://fund.eastmoney.com/pingzhongdata/${fundCode}.js`, {
  • 发起网络请求
    plugins/dsh-tool-fund-data/src/index.js:33
    const res2 = await fetch(`${EASTMONEY_FUND_BASE}/${fundCode}.js`);
  • 请求外部主机fundsuggest.eastmoney.com
    plugins/dsh-tool-fund-data/src/index.js:101
    const res = await fetch(`https://fundsuggest.eastmoney.com/FundSearch/api/FundSearchAPI.ashx?m=10&t=700&IsNeedBaseInfo=0&IsNeedZTInfo=0&Key=${encodeUR
  • 发起网络请求
    plugins/dsh-tool-fund-data/src/index.js:101
    const res = await fetch(`https://fundsuggest.eastmoney.com/FundSearch/api/FundSearchAPI.ashx?m=10&t=700&IsNeedBaseInfo=0&IsNeedZTInfo=0&Key=${encodeUR
  • 发起网络请求
    plugins/dsh-tool-kyc-compliance/src/index.ts:191
    const res = await fetch(endpoint, {
  • 发起网络请求
    plugins/dsh-tool-kyc-compliance/src/index.ts:232
    const res = await fetch(endpoint, {
  • 发起网络请求
    plugins/dsh-tool-macro-data/src/index.js:48
    const res = await fetch(`${WORLD_BANK_BASE}/country/${countryCode}/indicator/${indicatorCode}?format=json&per_page=5&date=2020:2025`);
  • 发起网络请求
    plugins/dsh-tool-macro-data/src/index.js:101
    const res = await fetch(`${WORLD_BANK_BASE}/country/${countryCode}/indicator/${indicatorCode}?format=json&per_page=1`);
  • 发起网络请求
    plugins/dsh-tool-market-data/src/index.ts:52
    const res = await fetch(url, {
  • 发起网络请求
    plugins/dsh-tool-market-sentiment/src/index.ts:81
    const res = await fetch(source.url, {
  • 发起网络请求
    plugins/dsh-tool-regulatory/src/index.ts:87
    const res = await fetch(searchUrl, {
  • 发起网络请求
    plugins/dsh-tool-regulatory/src/index.ts:141
    const res = await fetch(rssUrl, {
  • 发起网络请求
    plugins/dsh-tool-regulatory/src/index.ts:294
    const res = await fetch(`${endpoint}?keyword=${encodeURIComponent(keyword)}`, {
扫描于 2026/11/4(0 天前) · 范围 全包扫描 · 来源 GitHub 仓库
涉及外部主机:qt.gtimg.cn、fund.eastmoney.com、fundsuggest.eastmoney.com

静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。

给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个

功能亮点

  • 接入行情数据
  • 风控能力
  • 量化分析

README

由 DeepSeek 最新模型翻译生成
DSH 金融插件 DSH 金融插件套件 - 为 DeepSeek Harness (DSH) Agent 框架开发的金融场景插件集合。 项目简介 本项目包含 19 个金融插件,覆盖股票行情、外汇汇率、风控评估、量化指标、加密货币、信用评分、ESG 分析、基金数据、宏观经济等多个金融场景。同时提供 DSH Market 展示前端,方便浏览和下载插件。 在线演示 🌐 DSH Market: https://7z47dqxz34.coze.site/ 插件列表 | 插件 | npm 包名 | 功能 | 数据源 | | Market Data | @hanjixin/dsh-tool-market-data | 美股实时行情 | 新浪财经 | | A Stock | @hanjixin/dsh-tool-a-stock | A股实时行情 | 腾讯财经 | | Forex | @hanjixin/dsh-tool-forex | 外汇汇率查询与换算 | 欧洲央行 (Frankfurter) | | Quant Indicators | @hanjixin/dsh-tool-quant-indicators | 量化技术指标 (MA/RSI/MACD) | 本地计算 |
展开完整文档(README 剩余 1 节)
DSH 金融插件

DSH 金融插件套件 - 为 DeepSeek Harness (DSH) Agent 框架开发的金融场景插件集合。

项目简介

本项目包含 19 个金融插件,覆盖股票行情、外汇汇率、风控评估、量化指标、加密货币、信用评分、ESG 分析、基金数据、宏观经济等多个金融场景。同时提供 DSH Market 展示前端,方便浏览和下载插件。

在线演示

🌐 DSH Market: https://7z47dqxz34.coze.site/

插件列表

| 插件 | npm 包名 | 功能 | 数据源 |
| Market Data | @hanjixin/dsh-tool-market-data | 美股实时行情 | 新浪财经 |
| A Stock | @hanjixin/dsh-tool-a-stock | A股实时行情 | 腾讯财经 |
| Forex | @hanjixin/dsh-tool-forex | 外汇汇率查询与换算 | 欧洲央行 (Frankfurter) |
| Quant Indicators | @hanjixin/dsh-tool-quant-indicators | 量化技术指标 (MA/RSI/MACD) | 本地计算 |
| Risk Engine | @hanjixin/dsh-plugin-risk-engine | 风控规则引擎 | 本地规则 |
| Portfolio | @hanjixin/dsh-tool-portfolio | 投资组合分析 | 本地计算 |
| Crypto | @hanjixin/dsh-tool-crypto | 加密货币行情 | CoinGecko |
| Credit Scoring | @hanjixin/dsh-tool-credit-scoring | 信用评分模型 | 模拟数据 |
| ESG | @hanjixin/dsh-tool-esg | ESG 评级分析 | 模拟数据 |
| Financial Report | @hanjixin/dsh-skill-financial-report | 财报/合同解析 | 模拟数据 |
| Market Sentiment | @hanjixin/dsh-tool-market-sentiment | 市场舆情监控 | 模拟数据 |
| KYC Compliance | @hanjixin/dsh-tool-kyc-compliance | KYC/合规筛查 | 模拟数据 |
| Due Diligence | @hanjixin/dsh-skill-due-diligence | 尽职调查报告 | 模拟数据 |
| Fund Analysis | @hanjixin/dsh-tool-fund-analysis | 基金分析 | 模拟数据 |
| Fund Data | @hanjixin/dsh-tool-fund-data | 基金净值数据 | 天天基金 |
| Macro Data | @hanjixin/dsh-tool-macro-data | 宏观经济数据 | 世界银行 |
| Regulatory | @hanjixin/dsh-tool-regulatory | 监管政策追踪 | 模拟数据 |
| Tax | @hanjixin/dsh-tool-tax | 税务计算与筹划 | 本地计算 |
| Datasource Config | @hanjixin/dsh-tool-datasource-config | 数据源配置管理 | - |

快速开始

1. 安装 DSH

npm install -g @deepseek-ai/dsh

2. 配置 API Key

export DEEPSEEK_API_KEY="sk-your-api-key"
或写入配置文件
echo "DEEPSEEK_API_KEY=sk-your-api-key" > ~/.dsh/.env

3. 启动 DSH Web UI

dsh web --port 8080

4. 安装必要插件

cd ~/.dsh/profiles/web

图像识别
pnpm add @liustack/modlens -w

@引用文件
pnpm add github:omdsh-dev/dsh-at-file -w

插件市场
pnpm add dshmarket -w

5. 安装金融插件

cd ~/.dsh/profiles/web

安装全部金融插件
pnpm add @hanjixin/dsh-tool-market-data @hanjixin/dsh-tool-a-stock @hanjixin/dsh-tool-forex @hanjixin/dsh-tool-quant-indicators @hanjixin/dsh-plugin-risk-engine @hanjixin/dsh-tool-portfolio @hanjixin/dsh-tool-crypto @hanjixin/dsh-tool-credit-scoring @hanjixin/dsh-tool-esg @hanjixin/dsh-skill-financial-report @hanjixin/dsh-tool-market-sentiment @hanjixin/dsh-tool-kyc-compliance @hanjixin/dsh-skill-due-diligence @hanjixin/dsh-tool-fund-analysis @hanjixin/dsh-tool-fund-data @hanjixin/dsh-tool-macro-data @hanjixin/dsh-tool-regulatory @hanjixin/dsh-tool-tax @hanjixin/dsh-tool-datasource-config -w

或按需安装单个插件
pnpm add @hanjixin/dsh-tool-market-data -w

6. 配置 cordis.patch.yml

编辑 ~/.dsh/profiles/web/cordis.patch.yml,添加插件加载配置:

- insert:
- id: dsh-tool-market-data
name: ./plugins/dsh-tool-market-data/src/index.js
- id: dsh-tool-a-stock
name: ./plugins/dsh-tool-a-stock/src/index.js
- id: dsh-tool-forex
name: ./plugins/dsh-tool-forex/src/index.js
... 其他插件

7. 配置数据源(可选)

在 DSH 对话中配置收费数据源:

"配置 Tushare,token 是 your-tushare-token" "查看我配置了哪些数据源"

数据源优先级:收费数据源(Tushare/Wind/Choice/聚宽)> 免费数据源

8. 验证安装

"查一下苹果公司的股票价格" "把1000美元换算成人民币" "计算这组数据的RSI指标:100,102,101,105,103"

项目结构

dsh-finance-plugins/
├── plugins/ # DSH 金融插件(19个) │ ├── dsh-tool-market-data/ # 美股行情 │ ├── dsh-tool-a-stock/ # A股行情 │ ├── dsh-tool-forex/ # 外汇汇率 │ ├── dsh-tool-quant-indicators/ # 量化指标 │ ├── dsh-plugin-risk-engine/ # 风控引擎 │ ├── dsh-tool-portfolio/ # 投资组合 │ ├── dsh-tool-crypto/ # 加密货币 │ ├── dsh-tool-credit-scoring/ # 信用评分 │ ├── dsh-tool-esg/ # ESG分析 │ ├── dsh-skill-financial-report/ # 财报解析 │ ├── dsh-tool-market-sentiment/ # 市场舆情 │ ├── dsh-tool-kyc-compliance/ # KYC合规 │ ├── dsh-skill-due-diligence/ # 尽职调查 │ ├── dsh-tool-fund-analysis/ # 基金分析 │ ├── dsh-tool-fund-data/ # 基金净值 │ ├── dsh-tool-macro-data/ # 宏观经济 │ ├── dsh-tool-regulatory/ # 监管政策 │ ├── dsh-tool-tax/ # 税务计算 │ └── dsh-tool-datasource-config/ # 数据源配置 ├── src/ # DSH Market 前端 │ ├── app/ │ │ ├── page.tsx # 主页 │ │ ├── layout.tsx # 布局 │ │ └── api/download/ # 插件下载 API │ └── lib/ │ └── plugin-data.ts # 插件元数据 ├── AGENTS.md # 项目说明 ├── DESIGN.md # 设计规范 └── README.md # 本文件 DSH Market 前端

项目包含一个 DSH Market 展示前端,提供:

- 插件卡片展示与分类筛选
- 插件详情查看
- 插件下载功能
- 对话演示(模拟)
- 安装指引

启动前端:

pnpm install
pnpm dev

访问 http://localhost:5000 查看。

数据源配置

免费数据源(已集成)

| 数据类型 | 数据源 | 说明 |
| 美股行情 | 新浪财经 | 实时行情 |
| A股行情 | 腾讯财经 | 实时行情 |
| 外汇汇率 | 欧洲央行 | 200+货币 |
| 宏观经济 | 世界银行 | 全球数据 |
| 基金数据 | 天天基金 | 净值查询 |

收费数据源(可选配置)

| 数据源 | 说明 | 价格 |
| Tushare Pro | 国内最全金融数据 | 基础版免费 |
| Wind 万得 | 机构级数据 | 联系销售 |
| 东方财富 Choice | A股全市场 | ¥2000/年起 |
| 聚宽 JoinQuant | 量化平台 | 基础版免费 |

配置方式:在 DSH 对话中输入 "配置 Tushare,token 是 xxx"

插件开发规范

每个插件遵循 DSH Cordis 框架规范:

import { defineTool } from '@deepseek-ai/dsh-tools';

const name = 'plugin-name';
const inject = ['tools'];

function apply(ctx) {
ctx.tools.register(defineTool({
name: 'tool_name',
description: '工具描述',
parameters: { ... },
output: {
schema: { type: 'object', additionalProperties: true, properties: { ... } },
render: (_args, value) => [{ type: 'text', text: JSON.stringify(value) }],
},
async execute(args) {
// 实现逻辑 return result; }, })); }

export { apply, inject, name };

技术栈

- DSH: DeepSeek Harness Agent 框架
- 前端: Next.js 16 + React 19 + TypeScript
- UI: shadcn/ui + Tailwind CSS 4
- 插件框架: Cordis

License

MIT
预览分享卡片长什么样 ↓hanjixin/dsh-finance-plugins
分享 · DeepSeek Harness Hub
hanjixin/dsh-finance-plugins

为智能体接入行情、风控与量化分析等金融能力

这是你的仓库?认领条目

回到顶部