DeepSeek Harness Plugin

863683348/dsh-plugin-finance-data

Stars ★ 0 Category Tools & Capabilities Added 2026-08-17 npm dsh-plugin-finance-data

Finance data toolkit for DSH agents: number and currency formatting (incl. Chinese wan/yi units), return and CAGR math, valuation and profitability ratios, PV/FV, risk metrics, and a data-quality checklist.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-plugin-finance-data

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:863683348/dsh-plugin-finance-data

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. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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)

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

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →