HiThink-Tech/Financial-API is an official Tonghuashun service that provides A-share market data, including prices, financial statements, indices, sectors, funds and trading activity through APIs and developer tools. It serves AI agents, quantitative researchers and application developers. The catalogue add-ons help coding agents access and use this financial data.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HiThink-Tech/Financial-API --skill hithink-finance-symbolgit clone --depth 1 https://github.com/HiThink-Tech/Financial-APIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-symbol)<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-symbol"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-symbol/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-symbol"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-symbol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 12 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.00763 |
| Opus 5 | $0.00036 | $0.00381 |
| Sonnet 5 | $0.00014 | $0.00153 |
| Haiku 4.5 | $0.00007 | $0.00076 |
Grade A, and why
hithink-finance-symbol scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hithink-finance-symbol
标的识别和代码表路由。目标是把自然语言名称、ticker、thscode 或代码表需求变成后续可执行的证券标识。
前置条件表
| 条件 | 操作 |
|---|---|
| 开始任何 CLI 调用 | 先读取并遵循 hithink-finance-shared |
| 不确定命令是否存在或参数是否变化 | 运行 hithink-finance capabilities --format json,再运行 hithink-finance schema <id> --format json |
| 需要执行下表某个命令 | 先读取对应 reference 文件,不要只凭命令名猜参数 |
| 结果可能是全市场、分页、多标的或长区间 | 使用命令声明的 --output <path> 落盘;远端 stdout 只返回摘要 |
快速决策
| 用户意图 | 首选命令 / 路由 |
|---|---|
| 用户给出名称/简称/ticker,需要消歧 | symbol search |
| 用户要股票或指数代码表/全量目录 | symbol list,大结果必须将 JSON stdout 重定向落盘 |
| 用户要价格、K 线、快照 | 切到 hithink-finance-market |
| 用户要指数成分或指数行情 | 切到 hithink-finance-index |
Shortcuts
| 命令 | 何时使用 |
|---|---|
| symbol list | List symbols with bounded pagination |
| symbol search | Resolve a name or code to thscode |
原生命令与 schema
hithink-finance capabilities --format json
hithink-finance schema <capability-id> --format json
hithink-finance symbol <command> --help
使用原生命令前必须先看 schema;schema 是当前 CLI 参数契约,reference 是决策和边界补充。
权限表
| 命令类型 | 要求 |
|---|---|
| 远端服务查询 | API Key 来自系统凭据库、HITHINK_FINANCE_API_KEY 或 --api-key-stdin |
| 本地 DuckDB 查询/导出 | 本地库存在且 schema 兼容;可用全局 --db <path> 指定 |
| 删除、迁移、修复等有副作用操作 | 先预览或说明影响;需要用户明确确认时才加 --yes |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 57 lines · 71 tokens per session scan A 398867892e73
hithink-finance-symbol is a skill published in the GitHub repository HiThink-Tech/Financial-API (3,149 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 763 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
通达信TQ
A connection between Python strategy files and TdxQuant, TongdaXin's platform for securities data analysis and quantitative investment research. It uses the platform's tqcenter.py module to interact with the TongdaXin client.
机构持仓股东分析
A research workflow for examining an A-share company’s major shareholders and institutional holdings. It compares ownership structure, changes in holdings, concentration, and possible investor behavior.
问小达选A股
A Chinese-language stock screener for A-shares, the shares traded on mainland Chinese stock exchanges. It turns natural-language requests into filters for prices, trends, company finances, industries, concepts, and money flows.
政策解读与受益分析
A research assistant for interpreting Chinese policies and tracing how they may affect industries and companies. It is designed for policy research, thematic investing, event-driven analysis, and mapping policy changes to potential beneficiaries.
仓位决策
A Chinese-language decision aid for managing how much money is invested in A-share trades. It considers market conditions, current holdings, risk tolerance, and investment timeframe.
生成交易计划
A trading-plan workflow for an already selected A-share stock. It covers possible entry, adding or reducing a position, profit-taking, stop-losses, and exit conditions.