huyang218/dsh-plugins--packages-ainfo ↗★ 0
dsh-plugin-ainfo
A-share information tools for DeepSeek Harness: market news, broker research ratings and target prices, earnings pre-announcements, dividends, insider share transactions, lock-up expiries and the shareholder register.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:huyang218/dsh-plugins#efa02c42cd65f80b544659dfd6dbd00b6f293d41&path:packages/ainfo说明文档
阅读完整 README ↗dsh-plugin-ainfo
English | 中文
A-share information tools for DeepSeek Harness: what was said about a company, rather than what it traded at.
Prices, indicators and screening live in
dsh-plugin-astock. The two are separate plugins because the
questions are separate — an agent screening for a 40-day low needs none of
this, and every registered tool spends system-prompt budget on every request.
Install
Both this plugin and the shared Tushare provider, which holds the token:
dsh plugin --profile web add dsh-plugin-ainfo
dsh plugin --profile web add dsh-plugin-tushare
- id: tushare
config:
token: 'your-tushare-token'
Tools
Every tool here needs a Tushare Pro token, and none has a free fallback — there is no public endpoint serving this material reliably. Each tool says so in its own description so the model can tell you what is missing instead of discovering it mid-answer.
| Tool | What it returns |
|---|---|
ainfo_news | Major market news over a time window: headline, source, timestamp, plain-text excerpt |
ainfo_research | Broker research: rating, target price, org and author — for one stock or a whole report date |
ainfo_events | Company disclosures by kind: forecast (earnings pre-announcements), dividend, holdertrade (insider buying/selling), float (lock-up expiries), holders (top-ten register) |
Tushare gates interfaces by account points, so a valid token may still be refused. The refusal names the requirement and is passed through as a permission error; see dsh-plugin-tushare for what each failure kind means.
Two habits this plugin enforces
Text is passed through verbatim. Headlines, report titles and disclosure summaries are never paraphrased by the plugin, so the model can quote them. News bodies are the one exception: the feed ships article HTML, so excerpts are stripped to plain text and bounded — an excerpt is labelled as one and must not be presented as the full story.
Ratings are opinions. ainfo_research summarizes the distribution and the
target-price range, and says in its own output that these are brokers' views to
be attributed, not facts to be asserted.
License
MIT