akshare-a-shares

Community

Query China A-share data from local AKShare.

AuthorYrzhe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables fast retrieval of China A-share market data using a local AKShare source, allowing you to access real-time quotes, historical K-line data (daily/weekly/monthly), minute-level intraday data (1/5/15/30/60), and adjusted data, as well as shareholder counts and CNINFO disclosures without relying on external web services.

Core Features & Use Cases

  • Real-time A-share quotes, historical daily/weekly/monthly K-lines, and intraday minute data from a local AKShare setup.
  • Access shareholder numbers and CNINFO disclosure information, with built-in scripts to export CSV/JSON or inline Python calls.
  • Use cases include rapid market screening, backtesting with historical data, and automated data exports for research.
  • Default data source prioritizes East Money interfaces; switch to Sina endpoints when specified.

Quick Start

Use the akshare-a-shares skill to quickly fetch A-share data via the included scripts, for example:

  • python3 scripts/akshare_fetch.py spot --source em --format csv
  • python3 scripts/akshare_fetch.py hist --symbol 600519 --period daily --start 20200101 --end 20251231 --format csv
  • python3 scripts/akshare_fetch.py min --symbol 000001 --period 5 --start "2024-12-01 09:30:00" --end "2024-12-02 15:00:00" --format csv
  • python3 scripts/akshare_fetch.py gdhs --when 最新 --format csv
  • python3 scripts/akshare_fetch.py cninfo --symbol 000001 --market 沪深京 --category 年报 --start 20230101 --end 20241231 --format csv

Dependency Matrix

Required Modules

pandasrequests

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: akshare-a-shares
Download link: https://github.com/Yrzhe/claude-skills/archive/main.zip#akshare-a-shares

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.