A-Share Data Query
Query Chinese A-share quotes, adjusted historical K-lines, financials, company news, concepts, industry taxonomies, limit-up details and long-hu seats through bundled Python scripts.
Data & AnalyticsIntermediate★ 262⑂ 48AI score 9/10Last updated: Oct 11, 2026
What it does
- Fetches single and batch quotes, minute bars, market indices, fund flows, and limit-up/limit-down lists.
- Pulls historical K-lines with explicit adjustment mode (raw/qfq/hfq), dividends, trading calendars, index constituents, earnings pre-announcements and macro series.
- Computes technical indicators (MA, MACD, KDJ, RSI, BOLL) and retrieves financial metrics filtered as-of a disclosure date.
- Covers company news/filings, concept membership with the vendor's original inclusion rationale, share-unlock schedules, buyback plans, insider/major-shareholder changes, limit-up & broken-board details, and long-hu-bang (dragon-tiger) trading seats.
- Returns structured
status/meta/datawithrawvendor values, plus explicit handling ofpartial,stale, pagination limits and cache TTLs.
Who it's for
- Investors and analysts researching the Chinese A-share market.
- Quants/developers building A-share data pipelines or debugging flaky data sources.
- Anyone tracking A+H dual listings and Hong Kong IPO milestones.
Examples
- "Show the last 10 unadjusted daily candles for 600519 with source metadata" →
fetch_history.py --kline 600519 --adjust raw --count 10 --with-meta --json - "What concepts is 601899 in, and why was it included?" →
fetch_stock_concepts.py --code 601899 --source all --json - "Today's hottest sectors, only if the vendor marks them fresh" →
fetch_danginvest.py --summary --mode sub --limit 10 --require-fresh --json
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/shouldnotappearcalm/a-share-skill/HEAD/a-share-data/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the a-share-data folder from the GitHub repo shouldnotappearcalm/a-share-skill into my ~/.claude/skills/a-share-data/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/shouldnotappearcalm/a-share-skill.git && mkdir -p ~/.claude/skills && cp -r a-share-skill/a-share-data ~/.claude/skills/ && python3 -m pip install akshare MyTT pandas numpy requests beautifulsoup4⚠ This is a third-party skill. Check the source repository before installing.
- Make sure Python 3.9+ is available:
python3 --version. - Clone the repository:
git clone https://github.com/shouldnotappearcalm/a-share-skill.git - Install the skill folder:
mkdir -p ~/.claude/skills && cp -r a-share-skill/a-share-data ~/.claude/skills/ - Install dependencies:
python3 -m pip install akshare MyTT pandas numpy requests beautifulsoup4(company-news-only use needs justrequests). - Restart Claude Code and try a prompt like "get the quote for 600519" to confirm the skill triggers.
- If results look outdated, ask for
--no-cacheor--require-fresh; note that some upstream sources (e.g. certain fund-flow or rate endpoints) can fail or return placeholder zeros.
View source on GitHub ↗License: MIT