Install any skill in seconds. Free to start, no credit card required.
Get Started Free →kansoku-trade/hithink-a-share
A 股官方数据,来自同花顺(HiThink)官方 API——涨停股票池、连板天梯、龙虎榜、个股异动原因、热榜、A 股官方口径财报(利润表/资产负债表/现金流量表/财务指标)、行情快照与日 K。
Passed 11 of 16 test cases with the skill, and 3 of 16 without it.
and 17 more in the full report
13 fixed3 passed either way7 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
运行 financials.py 时返回了 JSON 包含 "error": "hithink error 1004: ...", "ok": false。根据系统错误码定义,1004 表示什么错误原因?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies error code 1004 as parameter conflict | Missed | Passed |
The instructions your model reads when the skill loads.
对话回复语言:中文白话(本仓库规则,见根 CLAUDE.md)。
Longbridge 不覆盖 A 股的短线情绪与官方口径财报数据,这个 skill 补这块盲区。触发词:
600519.SH)不要用这个 skill 做什么:
interval=1d),不支持分钟级。thscode 形如 600519.SH / 000001.SZ / 430047.BJ)。需要 HITHINK_FINANCE_API_KEY(已在仓库根 .env 里配置,脚本通过 _shared/env.py 自动加载,无需手动 source)。缺失时脚本报 exit_code=2,提示去 .env 里加。
| 脚本 | 用途 | 关键参数 |
|---|---|---|
snapshot.py | 行情快照(多 thscode 批量,或全市场分页) | thscodes...、--limit/--offset(全市场模式) |
kline.py | 日 K 线 | thscode、--days(便捷窗口)或 --start/--end(毫秒)、--adjust |
special.py | 涨停/连板/龙虎榜/异动/热榜,用 --kind 切换 | --kind limit-up-pool|limit-up-ladder|dragon-tiger|skyrocket|hot|hot-history|hot-rank-trend|anomaly|anomaly-stock |
financials.py | 官方口径财报 + 财务指标 | thscode、--kind income|balance|cashflow|indicators、--period annual|quarterly、--limit 或 --start/--end;indicators 用 --report yyyy-N |
calendar.py | A 股近一年交易日序列 | 无参数 |
search.py | 标的检索 / 批量代码表 | query(thscode/代码/中英文名),--list 切到批量代码表 |
所有脚本都支持 --help / --smoke / --verbose / --json(占位,输出恒为 JSON)/ --fresh(绕过缓存)。缓存在 ~/.cache/market-intel/hithink/,节流默认 ≥0.5 秒/请求(_shared/client.py 的节流机制)。
test cases passed, vs 3 / 16 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.