simonlin1212/a-stock-data — explained in plain English
Analysis updated 2026-05-18
Ask an AI assistant for a stock's PE ratio or price data directly in chat
Query which stocks are attracting the most northbound capital today
Pull financial statements, analyst reports, or regulatory announcements for A-share companies
Add real-time A-share data access to any AI assistant that supports context injection
| simonlin1212/a-stock-data | gudong2003/xianyu-auto-reply-fix | n8n-io/n8n-nodes-starter | |
|---|---|---|---|
| Stars | 1,091 | 1,084 | 1,100 |
| Language | — | Python | TypeScript |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Connects directly to multiple Chinese financial data provider APIs, each with its own authentication quirks.
a-stock-data is a data toolkit designed to help AI coding assistants (like Claude Code or Codex) answer questions about Chinese A-share stocks, the stocks listed on mainland China's Shanghai and Shenzhen exchanges. The challenge it solves is that raw data for Chinese stocks is scattered across more than a dozen different sources, each with its own authentication quirks, header requirements, and API formats. This toolkit bundles all of that into a single "Skill" file, which is a structured document containing instructions plus embedded Python code that an AI assistant can read and use directly. Once set up, you can ask your AI assistant plain questions like "what is the PE ratio of stock 688017" or "which stocks are attracting the most northbound capital today" (northbound capital refers to money flowing from Hong Kong into mainland Chinese markets through cross-border trading programs), and the assistant knows how to fetch and return the data. The toolkit covers 28 data endpoints across 7 layers: real-time price and candlestick charts, analyst research reports, sector and theme signals, margin trading and block trade data, company news, financial statements, and regulatory announcements. The project is a self-contained Python toolkit requiring no third-party data wrapper libraries, it connects directly to the underlying HTTP APIs of Chinese financial data providers. It is compatible with any AI coding assistant that supports context injection, not just one specific tool. The full README is longer than what was provided.
A Python toolkit that lets AI coding assistants answer questions about Chinese A-share stock data through one bundled Skill file.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.