tushare

SKILL.md

Tushare Pro(大数据开放社区)

Tushare Pro is a widely used financial data platform in China, serving over 300,000 users. It provides a standardized Python API covering A-shares, indices, funds, futures, bonds, and macro data. All interfaces return pandas.DataFrame.

⚠️ Token Required: Register at https://tushare.pro and obtain your personal Token from the User Center. Some interfaces require a higher credit level. See the Credit System section below.

安装

pip install tushare --upgrade

初始化与基本用法

import tushare as ts

# Set Token (only needs to be set once per session)
ts.set_token('your_token_here')
Installs
22
First Seen
Apr 4, 2026