Financial workbench for DeepSeek Harness (DSH): turns new sessions into a finance-mode assistant with FTShare China stock market data, quotes and financial statements, Kline (K-line) candlestick charts with technical indicators, inline plotting, and a paper trading simulator for A-share stocks and commodity futures.
Install
# from npm (prebuilt)
dsh plugin --profile web add @dsh-ft/finance-all-in-one
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:FTShare-Lab/dsh-plugin-fft-bundle
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
一次安装,把 DeepSeek Harness 组装成一座金融工作台:FTShare 数据面、K 线图表、出图技能、A 股 / 商品期货模拟盘。
一次对话,按自然语言画出四类图:走势、热力图、瀑布图与产业链。

金融模式会话:让它把取数结果画成图,图直接出现在回答里;右侧是常驻的 K 线助手,行情、板块与龙虎榜都在里面。

模拟交易:A 股与商品期货的本地账本,下单、撤单、持仓与复盘都在一处,成交前随时可以撤。

DSH ≥ 0.2.1-rc.2 · 装完新会话就是金融模式 · K 线由依赖安装 · 账本保存在本地
装了什么
| 组件 | 作用 |
|---|---|
金融模式(ft-finance)预设 |
新会话的默认工作方式:金融人设、行情与取数工具、出图技能 |
@dsh-ft/dsh-fft-settings |
设置页「金融终端」分区与 API Key 凭据 |
@dsh-ft/dsh-fft-ftshare |
FTShare 数据面工具:行情、板块、资金流、财务等 |
@ftshare-lab/dsh-kline |
K 线图表与侧栏,随依赖安装 |
@dsh-ft/dsh-fft-plot |
出图技能:把取数结果渲染成内联 SVG |
@dsh-ft/dsh-fft-paper-trading |
模拟盘:本地账本、下单、持仓与复盘 |
安装
方式一:npm(推荐)
在「设置 → 插件管理 → 添加插件」里输入包名:
dsh plugin add @dsh-ft/finance-all-in-one
装完重启一次应用。不需要改 pnpm 配置,也不需要 ssh:所有依赖都从 npm 解析。
- 不要与同样自带 FTShare 数据服务的入口包(如
@dsh-ft/dsh-fft-paper-trading)同时安装:数据服务行会重复,插件管理器里相关项将无法单独开关。 - 完整 K 线视图依赖本机 Python 3.10+,首次启动会联网准备运行环境;准备失败不影响取数、出图、下单与复盘。
方式二:自包含 tarball(装在没有 npm 的环境)
取得
dsh-ft-finance-all-in-one-X.Y.Z.tgz:Releases 页下载后保存好;安装官方 DeepSeek Harness 桌面版并启动:https://deepseek-harness.github.io/deepseek-harness
「设置」→「插件管理」→「添加插件」,粘贴文件的绝对路径:
/Users/<你>/Downloads/dsh-ft-finance-all-in-one-X.Y.Z.tgz装完刷新一次页面;若替换的是已装的同名插件,完全退出并重开应用。
文件里已内联全部子插件,这条路不需要 ssh,也不需要改 profile 的 pnpm 配置。升级时下载新版本文件 (文件名带版本号)再贴新路径即可;同一条路径重贴不会升级。
上手三步
配置数据源(可选):DSH「设置 → 金融终端」里填 FTShare API Key,免费申请地址 FTShare 官网,无 key 时使用匿名额度。
新建会话:默认就是金融模式,不用再选预设。
直接问:
- 「贵州茅台最近走势怎么样?」
- 「今天涨停集中在哪些板块?」
- 「把近 20 个交易日的成交额画出来」
能力范围
- 模拟盘:A 股与商品期货(日盘),本地账本,支持批量建仓、挂单撤单、复盘与风控。
- K 线:多市场行情、技术指标与支撑压力位,在侧栏打开。
- 出图:把取数结果渲染成内联 SVG,图随回答一起显示。
- 数据:行情、板块、资金流、财务报表等经 FTShare 数据面提供。
数据与隐私
- 模拟盘的账本保存在本机 DSH 数据目录(默认
~/.dsh)下的paper-trading/,不上传任何服务器。 - 除了向 FTShare 发起行情与数据查询外,本插件不向外部发送数据,也不含遥测。
- 仅用于研究与模拟,不构成投资建议。
开发方式
pnpm install
pnpm build && pnpm test
用本地 link 或打包文件验证自己的改动:
dsh plugin --profile <name> add link:<本仓绝对路径>
# 或
pnpm pack:tarball && dsh plugin --profile <name> add <输出的 .tgz 绝对路径>
改完要重新 build 并重启 dsh web(Host 代码不热载);推送前必须 pnpm build 并提交 lib/。
反馈
遇到 bug 或想加功能,走 GitHub Issues:
贴日志前先删掉 API Key、账户数据与账本路径。
本项目以 MIT 许可开源。变更记录见 CHANGELOG.md。
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38385
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37218
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28812
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 9804
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6039
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4659
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.