863683348/dsh-plugin-finance-data0

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 (volatility, drawdown, VaR, Sharpe), and a data-quality checklist

包名
dsh-plugin-finance-data
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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 
 add dsh-plugin-finance-data

Restart DSH. The finance_data tool is registered host-wide.

Tool

actionpurpose
formatNumber/currency/percent formatting with thousands separators and Chinese 万/亿 units
returnSimple, log, and annualized (CAGR-style) returns
ratioPE, PB, ROE, ROA, gross/net margin, debt-to-equity
valuePresent value, future value, implied rate
riskMean, volatility, max drawdown, historical VaR(95), Sharpe from a return series
checklistData-quality checklist (source, as-of date, units, definitions)

Config

All optional, on the composition row's config:

keydefaultmeaning
personaSectiontrueregister the finance prompt-guidance section
sectionOrder6prompt 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