What problem does it solve?
Provide a straightforward, programmatic way to retrieve comprehensive Chinese financial market data (A-share, HK, US, funds, futures, bonds and macro indicators) so users no longer need to manually query different endpoints or scrape disparate sources.
Core Features & Use Cases
- Unified Python client: a TushareAPI wrapper that reads TUSHARE_TOKEN, normalizes date formats and returns pandas DataFrames for downstream analysis.
- Common workflows: stock daily prices, index daily, financial statements, fund NAVs, macro indicators (GDP/CPI/PMI), batch queries and bulk export to CSV/Excel.
- Use case: run a batch query to download daily price series for an index's component stocks, compute returns and export per-stock CSVs for backtesting.
Quick Start
Initialize the included Python TushareAPI client (ensure the TUSHARE_TOKEN environment variable is set) and call get_stock_daily with the desired ts_code and date range.