863683348/dsh-plugin-finance-data
Finance data toolkit for DeepSeek Harness agents: number/currency formatting (incl. Chinese wan/yi units), return & CAGR math, valuation and profitability ratios, PV/FV, risk metrics, and a data-quality checklist
已收录
1
Tools
Bundle 已验证
预览
功能介绍
为 DSH agent 提供金融数据工具包:数字与货币格式化(含中文万/亿单位)、收益与年化计算、估值与盈利比率、现值/终值、风险指标与数据质量清单。
适合
- 需要基于已提供数据确定性地完成格式化、收益率、比率、货币时间价值和风险指标计算的分析人员。
- 需要比较投资组合偏移、再平衡金额或储蓄与复利预测的用户。
不适合
- 不适合实时市场数据获取或来源核验,因为该工具包是确定性的,且没有文件系统访问或已记录的数据源。
- 不适合回测以及债券、外汇等高级金融工具分析,因为这些仍列在后续路线图中。
README
dsh-plugin-finance-data
A finance data toolkit for DeepSeek Harness agents: guaranteed-correct number formatting, return math, ratios, time value, and risk metrics. The model explains; the plugin does the arithmetic.
Install
dsh plugin --profile <profile> add dsh-plugin-finance-data
Restart DSH. The finance_data tool is registered host-wide.
Tool
| action | purpose |
|---|---|
format |
Number/currency/percent formatting with thousands separators and Chinese 万/亿 units |
return |
Simple, log, and annualized (CAGR-style) returns |
ratio |
PE, PB, ROE, ROA, gross/net margin, debt-to-equity |
value |
Present value, future value, implied rate |
risk |
Mean, volatility, max drawdown, historical VaR(95), Sharpe from a return series |
checklist |
Data-quality checklist (source, as-of date, units, definitions) |
plan |
DCA / compound-interest projection — future value schedule, inflation-adjusted real value |
portfolio |
Portfolio weights, drift vs targets, and rebalance buy/sell orders |
Config
All optional, on the composition row’s config:
| key | default | meaning |
|---|---|---|
personaSection |
true |
register the finance prompt-guidance section |
sectionOrder |
6 |
prompt section order (persona is 0, ascending) |
Design
Pure logic (lib/finance.js) has zero DSH/Cordis imports and is unit-tested in isolation; lib/index.js is the thin Cordis plugin wiring the tool and the prompt section. No filesystem access — deterministic and side-effect free.
License
MIT
Roadmap
See ROADMAP.md — next five versions (v0.2.0 – v0.6.0): planning & portfolio, trends & peer comparison, cash-flow & sensitivity, bonds & FX/inflation, backtest & report export.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:863683348/dsh-plugin-finance-data。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。