a-stock-data — What is it?

The project simonlin1212/a-stock-data is a broad full-stack data toolkit for analyzing China A-Share market data, providing a wide range of endpoints and data sources for AI coding assistants.

⭐ 10,775 Stars 🍴 1,952 Forks Python Apache-2.0 Author: simonlin1212
Source: Official README and linked documentation View on GitHub →

Why it matters

This project is being discussed because its broad coverage of A-Share market data, its modular architecture, and its focus on providing a full-stack solution with minimal third-party dependencies. The project addresses the pain point of scattered and fragmented data sources by offering a unified and structured approach to accessing market data.

Source: Official README and linked documentation

Core Features

7-layer architecture

The project features a seven-layer architecture that includes行情层, 研报层, 信号层, 资金面/筹码层, 新闻层, 基础数据, and 公告层, each providing specific data points and functionalities for market analysis.

Source: Official README and linked documentation
27 endpoints

The project offers 27 endpoints covering various aspects of the market, such as stock quotes, research reports, trading signals, and financial news, providing a wide range of data for analysis.

Source: Official README and linked documentation
13 data sources

The toolkit integrates data from 13 different sources, including mootdx, Tencent, Eastmoney, and Sina, ensuring a broad view of the market.

Source: Official README and linked documentation
Zero third-party dependencies

The project is designed to be self-contained, with no reliance on external data wrappers, ensuring greater control and stability over the data sources.

Source: Official README and linked documentation

Architecture

The architecture of the project is modular, with each layer dedicated to a specific aspect of market data analysis. The layers are interconnected, with data flowing from one layer to another, and the project utilizes a seven-layer architecture to organize and structure the data. Key technical decisions include direct connections to HTTP APIs for data sources and a focus on minimizing third-party dependencies.

Source: Official README and linked documentation

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) mootdx requests pandas stockstats 7-layer architecture 27 endpoints 13 data sources Zero third-party dependenciesZero third-party de… a-stock-data Project Core feature Key dependency

Tech Stack

LanguagePythonFrameworkNone specified, but the project uses Python for scripting and data manipulation.
mootdxrequestspandasstockstats
Not specified, but the project is designed to be used with AI coding assistants like Claude Code, Codex, and OpenClaw.
Source: Official repository tree and dependency files

Quick Start

mkdir -p ~/.claude/skills/a-stock-data curl -o ~/.claude/skills/a-stock-data/SKILL.md https://raw.githubusercontent.com/simonlin1212/a-stock-data/main/SKILL.md pip install mootdx requests pandas stockstats
Source: Official README and linked documentation

Use Cases

This project is suitable for AI coding assistants, financial analysts, and developers who need to analyze China A-Share market data. It can be used for tasks such as stock valuation, market trend analysis, and financial news monitoring.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • broad coverage of A-Share market data
  • Modular and scalable architecture
  • Self-contained and minimal third-party dependencies

Limitations

  • Limited documentation and community support
  • Some data sources may have access restrictions
Source: Official README and linked documentation

Latest Release

As of 2026-09-23, the latest official release is v3.9.0, released on 2026-09-20. This version adds three layers of futures and commodities, event-driven, convertible bonds, and 25 capacity entrances, and adds paths such as Tencent K-line, messenger backpack, Sina Research, ETF share, and interest rate curve; the old function signature is retained, and there is no official breaking change.

Source: github.com/simonlin1212/a-stock-data/releases/tag/v3.9.0

Verification and evidence

status: docs-only  |  checked_at: 2026-09-23  |  environment: Check only official README, SKILL.md, CHANGELOG and v3.9.0 release  |  limitations: No local installation or runtime verification was performed. No SKILL.md downloaded, no Python dependencies installed, no offline tests or networked endpoints running, and no market data values verified  |  observed_output: The latest official release is v3.9.0, released on 2026-09-20; the release clearly states that Python 3.9 is compatible, relies on the same, 15 layers, 85 entries and 34 sources, and records the change of 0 rows returned by mootdx quotes

Source: github.com/simonlin1212/a-stock-data/releases/tag/v3.9.0

Comparison

AKShare is a pip-installable Python financial data interface library. Public functions usually return pandas.DataFrame. Officials also provide interface retrieval and detailed classification documents. A-stock-data centralizes a smaller set of A-share-related entries, source demotion, and call rules into an Agent-readable SKILL.md. When writing traditional Python data programs and requiring a wide range of asset classes, AKShare should be evaluated first; when the Agent is expected to take A-share data according to fixed rules in the session, the single-file form of a-stock-data is more direct. Both rely on upstream public websites and deal with source changes and data review.

Source: github.com/akfamily/akshare

Verdict

The simonlin1212/a-stock-data project is a tool for anyone needing broad and structured access to China A-Share market data. Its modular architecture and focus on minimizing dependencies make it a configurable solution for various market analysis tasks. It is particularly well-suited for use with AI coding assistants and financial analysts.

Frequently Asked Questions

What did the documentation review verify for a-stock-data on 2026-09-23?

The latest official release is v3.9.0, released on 2026-09-20; the release clearly states that Python 3.9 is compatible, relies on the same, 15 layers, 85 entries and 34 sources, and records the change of 0 rows returned by mootdx quotes No local installation or runtime verification was performed.

What evidence boundary applies to this a-stock-data review?

The review environment was: Check only official README, SKILL.md, CHANGELOG and v3.9.0 release a-stock-data behavior outside that scope still needs a local check.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-09-23 13:55.

Reference materials: README, GitHub API, dependency files