china-ashare-datalisted
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