Agent skill · Backend & API

hithink-a-share

A 股官方数据,来自同花顺(HiThink)官方 API——涨停股票池、连板天梯、龙虎榜、个股异动原因、热榜、A 股官方口径财报(利润表/资产负债表/现金流量表/财务指标)、行情快照与日 K。

kansoku-tradegithub.com/kansoku-tradeGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add kansoku-trade/kansoku --skill hithink-a-share --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 7 KB
Bundled scripts: yes
Path: .claude/skills/hithink-a-share/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 272
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# hithink-a-share > 对话回复语言:中文白话(本仓库规则,见根 CLAUDE.md)。 ## 何时用 Longbridge 不覆盖 A 股的短线情绪与官方口径财报数据,这个 skill 补这块盲区。触发词: - 涨停 / 涨停股票池 / 连板 / 连板天梯 / 几天几板 - 龙虎榜 / 机构榜 / 游资榜 - 个股异动 / 异动原因 / 大涨大跌解读 - 同花顺热榜 / 飙升榜 / 热股榜单 / 热度排名 - A 股财报 / 利润表 / 资产负债表 / 现金流量表 / 财务指标 / ROE / 毛利率 - A 股行情快照 / A 股日 K / thscode(如 `600519.SH`) **不要用这个 skill 做什么**: - 分钟级 K 线、实时盯盘 —— 这些属于 Longbridge(本仓库不做港股 A 股实时看盘,Longbridge 只覆盖美股账户)。历史 K 线接口仅支持日线(`interval=1d`),不支持分钟级。 - 港股 / 美股 —— 这个 skill 只覆盖 A 股(`thscode` 形如 `600519.SH` / `000001.SZ` / `430047.BJ`)。 - **TD-LANG-03 全市场级工作不查 A 股**:只有明确要看 A 股个股/板块时才用这个 skill,不要在美股大盘扫描里顺带拉 A 股。 ## 认证 需要 `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` 切换 | `-

What's inside
Steps it walks through
  1. 何时用
  2. 认证
  3. 脚本一览
  4. CLI 示例
  5. 输出格式
  6. 数据陷阱(读这些数字前必看)
  7. 错误处理
  8. 相关 skill
Ships with 7 files
  • scripts/_common.py
  • scripts/calendar.py
  • scripts/financials.py
  • scripts/kline.py
  • scripts/search.py
  • scripts/snapshot.py
  • scripts/special.py
Commands it runs
python3 .claude/skills/hithink-a-share/scripts/snapshot.py 600519.SH
python3 .claude/skills/hithink-a-share/scripts/snapshot.py 600519.SH 000001.SZ
python3 .claude/skills/hithink-a-share/scripts/kline.py 600519.SH --days 90
python3 .claude/skills/hithink-a-share/scripts/kline.py 000001.SZ --adjust backward
python3 .claude/skills/hithink-a-share/scripts/special.py --kind limit-up-pool --sort-field limit_up_time --sort-dir desc
python3 .claude/skills/hithink-a-share/scripts/special.py --kind limit-up-ladder
python3 .claude/skills/hithink-a-share/scripts/special.py --kind dragon-tiger
python3 .claude/skills/hithink-a-share/scripts/special.py --kind dragon-tiger --board-type hot_money --date 2026-07-14
python3 .claude/skills/hithink-a-share/scripts/special.py --kind anomaly --tag-codes LIMIT_UP,SHARP_FALL
python3 .claude/skills/hithink-a-share/scripts/special.py --kind anomaly-stock --thscodes 600519.SH,000001.SZ
More from kansoku
All skills →
About this skill
What does the hithink-a-share skill do?

A 股官方数据,来自同花顺(HiThink)官方 API——涨停股票池、连板天梯、龙虎榜、个股异动原因、热榜、A 股官方口径财报(利润表/资产负债表/现金流量表/财务指标)、行情快照与日 K。

How do I install it?

Run `npx skills add kansoku-trade/kansoku --skill hithink-a-share --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From kansoku-trade/kansoku, a repository with 272 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going