AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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/data with raw vendor values, plus explicit handling of partial, 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

  1. "Show the last 10 unadjusted daily candles for 600519 with source metadata" → fetch_history.py --kline 600519 --adjust raw --count 10 --with-meta --json
  2. "What concepts is 601899 in, and why was it included?" → fetch_stock_concepts.py --code 601899 --source all --json
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Make sure Python 3.9+ is available: python3 --version.
  2. Clone the repository: git clone https://github.com/shouldnotappearcalm/a-share-skill.git
  3. Install the skill folder: mkdir -p ~/.claude/skills && cp -r a-share-skill/a-share-data ~/.claude/skills/
  4. Install dependencies: python3 -m pip install akshare MyTT pandas numpy requests beautifulsoup4 (company-news-only use needs just requests).
  5. Restart Claude Code and try a prompt like "get the quote for 600519" to confirm the skill triggers.
  6. If results look outdated, ask for --no-cache or --require-fresh; note that some upstream sources (e.g. certain fund-flow or rate endpoints) can fail or return placeholder zeros.