← ClaudeAtlas

china-ashare-datalisted

Get China A-share and Greater China market data without the ecosystem's silent traps. TRIGGER - A股, 沪深, 北交所, 科创板, 创业板; akshare, tushare, baostock, efinance, adata, qstock, mootdx, easyquotation, jqdatasdk, 聚宽, rqdatac, 米筐, Wind, 万得, Choice, 东方财富; 复权, qfq, hfq, 前复权, 后复权; ST, 退市, delisted A-share tickers, 退市股票列表; 停牌 suspension; 公告日 versus 报告期; CSI300, HS300, 中证 index membership. Three popular libraries default to forward-adjusted prices, which are rewritten retroactively and are therefore look-ahead contaminated. SKIP for backtesting or trading A-shares (china-trading-stack) and for Hong Kong, Taiwan, Japan or Korea (asia-pacific-markets).
howard-lynn-ye/fin-skills · ★ 1 · AI & Automation · score 77
Install: claude install-skill howard-lynn-ye/fin-skills
# China A-share data The Chinese ecosystem's defaults are more dangerous than the Western one's: **three of the most popular libraries default to forward-adjusted (前复权) prices**, which are retroactively rewritten and therefore look-ahead contaminated. Read §2 before anything else. Most facts below are ✅ verified by downloading the wheel and reading the source, not from docs. ## 1. Pick a source | Constraint | Use | Note | |---|---|---| | Widest free coverage, any asset | **akshare** (MIT, 1,103 interfaces) | Scraper. Safe default `adjust=""` | | Free + **delisted list** + safe defaults | **baostock** 0.9.3 | **Revived in 2026** after 5 dormant years | | **Point-in-time fundamentals**, cheap | **tushare pro** | `f_ann_date` + `update_flag` | | **Best PIT + index history**, paid | **rqdatac** | `get_pit_financials_ex` with `if_adjusted` | | PIT + limit-up/suspension fields, paid | **jqdatasdk** | 🚨 **geo-blocked outside mainland China** | | **Raw prices + raw corporate actions** | **mootdx** (`xdxr`) | The most look-ahead-safe free path | | Chinese futures, incl. 夜盘 | **tqsdk** (Apache-2.0, 4 open issues) | Best-maintained here | | Live trading framework | **vnpy** → `china-trading-stack` | Ships no data itself | | Realtime whole-market snapshot | **easyquotation** | Quotes only, no history | | Institutional, index history, delisted | **Wind** / **Choice** | Terminal-bound, unpublished pricing | **Do not use:** `pytdx` (archived 2020, **no licence**), `Ashare` (**no licen