SA

simonlin1212/a-stock-data

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

11.2K stars Quality 75 Trend 95Apache-2.0

A-share full-stack data toolkit · Eleven-layer architecture · 54 endpoints · 19 data sources · Zero authentication | Full-stack China A-share data toolkit for AI agents — 11 layers, 54 endpoints, 19 sources, zero-auth

Overview

A-share full-stack data toolkit — 10-layer architecture · 40 endpoints · 13 data sources · Zero third-party data encapsulation dependencies A self-contained Skill file integrates raw A-share data scattered across 13 sources into a toolkit that AI programming assistants can use directly. You no longer need to memorize mootdx's candlestick parameters, Dongcai's PDF Referer header, or iwencai's X-Claw authentication—all packaged together. (1) (#23 / #15) — Dongcai Limit-up / Limit-Up / Limit-down / Yesterday's Limit-Up Four Pools + Tonghuashun Limit-Up Reveal (Limit-up Reason Theme / Limit-Up Success Rate) + Quick Limit-Up Sentiment Calculation (Limit-Up Rate / Consecutive Limit-Up Tier); (2) (#13)—50 ETF / 300 ETF and other options T-shape quotes + Greek letters + Implied volatility (Sina Source, no local BSM calculation); (3) — Interactive Q&A (How the Company Responds to Investors) + Tonghuashun Hot List + Dongcai Popularity List + Individual Stock Concept Hits. Additionally, explicitly supplement ETF support explanations. Endpoint 28→40, Layer 7→10. (1) —— Bars() parameter name incorrectly written category (actually frequency), not restored to weight** by **re-weighted caliber** not re-weighted** full_valuation EPS is misaligned ** V3.2.4 Fix (2026-06-20 · #26) :* *mootdx 0.11.x Newly Installed BESTIP Empty String Crash** V3.2.3 Added (2026-06-20) :* *Industry Research Report** V3.2.2 Fixed (2026-06-03) :** Concept Sector Ownership (#18) **CNINFO Announcement orgId (#19)**V3.2 (2026-05-30) :** Data source priority + Dongcai anti-ban ** Cailian Press Offline (#14)** V3.1 Fix (2026-05-19) :* *V3.0 Breaking Change: Completely removed akshare dependencies, all data sources switched to direct HTTP API connections. Added capital flow/chip layer. Compatible with Claude Code · Codex · The OpenClaw Skill file is essentially a structured Markdown + embedded Python, and can be used by any AI programming assistant that supports context injection. Launch Claude Code and say "Help me check the valuation of 688017," and it will automatically activate. Just paste the content of SKILL.md into your system prompt or project context file; the embedded Python code can be executed directly. Except for iwencai, all other data sources are **.

Overview (machine translated)

Chinese Simplified | English

a-stock-data

A-share full-stack data toolkit — 15-layer architecture · 87 endpoints · 34 data sources · Zero authentication (except iwencai)

Market candlestick · Research reports · Market signals · Liquidity / Chips · News · Basic finance · Announcements · Limit-up trading · ETF options · Public opinion interaction · Macroeconomics and interest rates · Indices and trading calendars · Futures and commodities · Event-driven · Convertible bonds


Data Coverage · Structure · Quick Start · Endpoint List · Usage Example · FAQ · Update log

A self-contained Skill file integrates raw A-share and related market data scattered across 34 data sources into a toolkit that AI programming assistants can use directly. You no longer need to memorize Tencent K-line segment parameters, Tongdaxin post-disk binary format, Dongcai’s PDF Referer header, iwencai’s X-Claw authentication—all packaged. If the main source is blocked, you can downgrade it with a “backup source quick lookup.”

Compatible with Claude Code · Codex · OpenClaw · WorkBuddy · Muse · Grok Bot

Skill files are essentially structured Markdown + embedded Python, and can be used by any AI programming assistant that supports context injection.

V3.10.2(2026-10-11 · #58): Correction of full_valuation() PE digestion years: When forward PE exceeds 30x but forecasted earnings do not grow (or the next year’s forecast is missing), originally returns 0 years, as if digested; Now returns None, indicating it cannot be estimated. Returns None when EPS is missing or not positive in the current year. Number of entries and sources remains unchanged.

V3.10.1(2026-10-07 · #57): Correction §1.2 Tencent K-line trading volume unit: STAR Market (688 / 689) is stock, the rest are lots. Previously, all documents were written as ‘hands’, and converting to the old documents would result in a 100-fold increase in STAR Market value. Also supplemented with the reconciliation by stock with Tongdaxin after-hours package and Baostock. §1.4 Change to multiplexed connections and automatic retry sessions for each transaction (about 70 seconds → about 25 seconds), add frame.attrs["complete"], and after 15:31, check if there are missing entries in the after-hours pricing segment; §13.7 Futures day K also automatically retrys. Number of entry points, source numbers, and returned data all remain unchanged.

V3.10.0 (2026-09-22): After the K-line / Market / Per-Per-Order commands on Tongdaxin’s public server become invalid (#52), the market layer prioritizes available sources (Tencent → Tencent K-Line → Tongdaxin Post-Hours Package → Tencent Per-Trade), and mootdx is moved to the last for archiving; Added §1.4 tencent_ticks() Tencent same-day per-order transactions (replacing mootdx per-trade) and §13.

This page was translated automatically. Technical details may differ from the original.

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add simonlin1212/a-stock-data
New to MCP? Start with the mcpskill.org guide →