dsh-plugin-finance-data
編輯精選維護狀態: 活躍863683348/dsh-plugin-finance-data
金融資料工具包:數字/貨幣格式化(含中文萬/億)、收益率與 CAGR、估值盈利比率、PV/FV、風險指標與資料質量清單
$ dsh plugin add dsh-plugin-finance-data5
星數
1
Fork
JavaScript
語言
MIT
授權條款
2026-08-17
建立於
2026-09-11
最近推送
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.
Compatibility
Tool schemas are validated against the @deepseek-ai/dsh-tools value-schema DSL at plugin load (checked against dsh-tools 0.1.0-rc.6 and 0.1.1-rc.2). Earlier releases used JSON-Schema required at the root of output.schema and closed nested objects without declared properties, which made the host abort the whole profile boot with unsupported JSON schema: schema.required is not supported by the value schema DSL and could reject the tool's own results. Current releases fix both; if an affected version left your DSH unable to start, remove the plugin from the profile (or upgrade) — no data is lost.
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 |
trend |
Metric time series — mean, extremes, direction (slope), volatility |
peer |
Value vs peer group — P10/P50/P90 and percentile rank |
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.
更多「其他」外掛
deepwiki-rs
作者 sopaco
基於程式碼生成結構化技術文件與適合 AI 智慧體使用的上下文,方便團隊理解和協作。
dsh-purge
作者 yujunzhixue
DeepSeek Harness 破甲:讓所有模型都能破甲,不同模型可換不同提示詞;預設提示詞面向國模「小碼醬」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
dsh-plugin-radar
作者 adamplatin123
DSH Plugin Radar — open-source ecosystem radar for DeepSeek Harness plugins: continuous discovery (21k+ candidates), k8s runtime validation (13k+ tests), 15-min snapshots; the catalog is a generated artifact — 開源 DSH 外掛生態雷達:持續發現 2.1 萬+ 候選、k8s 執行級實測 1.3 萬+、15 分鐘快照;外掛目錄為自動生成的產物
picgo-core
作者 picgo
強大的圖片上傳引擎,同時支援 CLI 與 API。
