Home / Market & alternative data
tushare
Pandas frames of China stock history and live quotes
What it is
A Python package that loads historical bars and realtime quotes for China-listed stocks into pandas DataFrames. Those frames can be saved as CSV, Excel, or JSON, or inserted into MySQL or MongoDB, and the documented first call asks for history by stock code. Analysts and learners working on China market data with pandas or NumPy are the audience. Realtime quote helpers are crawler builds against public web pages, including a Tencent source and broker quote pages, so they fail when those pages change, and the package does not open an exchange connection.
At a glance
RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Data source, Data analysis |
| Markets | China A-shares |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | High practical value |
| Cost | Free, with paid APIs |
| Hardware | No GPU needed |
A utility for crawling historical and Real-time Quotes data of China stocks. (Last updated: 2024-08-27).
Similar tools
Elegant Python interface for open financial data
Self-hosted China equity data lake in local Parquet
Historical tick-level crypto replay and CSV downloads
Pythonic downloader for Yahoo! Finance market data
Free searchable database of 300,000+ financial symbols
Open-source financial data platform with Python, CLI, and REST access