npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dsh-ft/finance-all-in-one

v1.2.1

Published

Composition bundle for the FT financial workbench: installs and wires the dsh-fft plugin set with shared defaults.

Readme

FT 金融工作台:行情、K 线、模拟盘

npm license

一次安装,把 DeepSeek Harness 组装成一座金融工作台:FTShare 数据面、K 线图表、出图技能、A 股 / 商品期货模拟盘。

一次对话,按自然语言画出四类图:走势、热力图、瀑布图与产业链。

一次对话生成四类图:走势、热力图、瀑布图、产业链

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

金融模式会话:取数、出图与 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 的环境)

  1. 取得 dsh-ft-finance-all-in-one-X.Y.Z.tgz:Releases 页下载后保存好;

  2. 安装官方 DeepSeek Harness 桌面版并启动:https://deepseek-harness.github.io/deepseek-harness

  3. 「设置」→「插件管理」→「添加插件」,粘贴文件的绝对路径:

    /Users/<你>/Downloads/dsh-ft-finance-all-in-one-X.Y.Z.tgz
  4. 装完刷新一次页面;若替换的是已装的同名插件,完全退出并重开应用。

文件里已内联全部子插件,这条路不需要 ssh,也不需要改 profile 的 pnpm 配置。升级时下载新版本文件 (文件名带版本号)再贴新路径即可;同一条路径重贴不会升级。

上手三步

  1. 配置数据源(可选):DSH「设置 → 金融终端」里填 FTShare API Key,免费申请地址 FTShare 官网,无 key 时使用匿名额度。

  2. 新建会话:默认就是金融模式,不用再选预设。

  3. 直接问:

    • 「贵州茅台最近走势怎么样?」
    • 「今天涨停集中在哪些板块?」
    • 「把近 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。