Tushare data download
Tushare (China market data)
Coverage
- ·A-shares (Shanghai / Shenzhen / Beijing): daily, minute and tick bars, adjustment factors, halt/resume status, top-gainer (Dragon-Tiger) lists
- ·HK stocks: daily bars and the Stock Connect eligibility list
- ·Futures: daily and minute bars for the front-month contracts on every Chinese futures exchange, including night sessions
- ·Fundamentals: the three financial statements, financial ratios, and industry / concept classifications
- ·Macro: key indicators such as CPI, PMI and money supply
- ·Funds, convertible bonds, interbank rates, US stocks and crypto (coverage of the last two is limited)
Tushare API key — how to apply
- 1Go to tushare.pro and create an account
- 2After signing in, open "My Profile → API TOKEN" and copy your token
- 3Some advanced endpoints require points (earned via daily check-in or top-up) — see the "Earn Points" page
- 4In the Quant Data Fetch client, go to Settings → Data Sources → Tushare, paste the token and save
Usage limits
- ·Free users get 200 requests/minute on basic endpoints, with a daily call cap
- ·Tick data, minute bars, Level-2 and similar require a higher points balance (2,000–5,000+)
- ·Points are earned through check-ins, top-ups and referrals; see the "Earn Points" page on tushare.pro and the "permission" field of each endpoint for the exact thresholds
- ·A single API call returns at most 6,000 rows; larger pulls are paginated by date (handled automatically by Quant Data Fetch)
Caveats
- ⚠A free token hits the rate limit quickly when pulling minute-level data. Tushare enforces its own points thresholds that Quant Data Fetch cannot bypass — make sure your token has enough permission before enabling an endpoint
- ⚠Financial data is typically delayed 1–3 days (company disclosure plus Tushare ingestion), which is fine for fundamental strategies but not real-time use
- ⚠tushare.pro occasionally has maintenance windows; update tasks retry with exponential backoff and are marked failed after a prolonged outage
FAQ
Is Tushare free?⌄
How is Tushare different from AkShare and Baostock?⌄
Can I reuse one token across multiple devices?⌄
How do I use Tushare data offline?⌄
I haven't paid — is the free tier enough?⌄
Using Tushare in Quant Data Fetch
In the "Data Endpoints" panel of Quant Data Fetch, the Tushare group lists every supported endpoint (daily / minute / financials, etc.). You can enable them in bulk by group, and scheduled incremental updates automatically skip market holidays. We recommend enabling the Tushare data source under Settings and entering your token first, then clicking "Update Now" on an endpoint.
Markets covered by Tushare
China A-share trading hours (Shanghai / Shenzhen / Beijing): call-auction windows, midday break and closures for Chinese New Year, National Day and other public holidays.
Hong Kong stock market trading hours (HKEX): opening and closing auctions, the lunch break, and closures for Christmas, Chinese New Year and other holidays.
China futures trading hours: three daytime blocks, the night session, per-product night-session close times and long-holiday suspensions.