tushare

Fetch Chinese stock, futures, and macroeconomic data via the Tushare API.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ProyectoG007/Skill.bat --skill tushare-proyectog007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tushare
Source: https://github.com/ProyectoG007/Skill.bat/tree/main/scripts/03_Trading_Finance/01.%20tushare-trading-1.0.8
Command: npx skills add https://github.com/ProyectoG007/Skill.bat --skill tushare-proyectog007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides access to comprehensive Chinese stock and futures market data, enabling users to retrieve financial information without needing to navigate complex APIs directly.

Core Features & Use Cases

  • Stock Data: Fetch real-time and historical stock quotes, basic information, and financial flows.
  • Futures Data: Access futures contract details, daily market data, and holding information.
  • Macroeconomic Data: Retrieve GDP, CPI, and PPI data for China.
  • Use Case: A user needs to analyze the daily trading volume and closing prices for a specific Chinese stock (e.g., 000001.SZ) over the last month. This Skill can provide that data directly.

Quick Start

Use the tushare skill to get the daily stock data for 000001.SZ from 20240101 to 20240131.

Frequently Asked Questions about tushare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Chinese stock market data like daily quotes for trading analysis?

To fetch Chinese stock market data, you can retrieve historical and real-time daily quotes for specific stocks like 000001.SZ over a defined date range using the Tushare API for trading analysis.

Can I retrieve Chinese macroeconomic indicators such as GDP and CPI?

Yes, you can retrieve Chinese macroeconomic indicators including GDP, CPI, and PPI data directly via the Tushare API to support economic monitoring and investment research.

What do I need to access Chinese financial data through the Tushare API?

To access Chinese financial data through the Tushare API, you need Python 3 with the tushare and pandas libraries installed, along with a valid TUSHARE_TOKEN environment variable.

Does this solution provide futures contract details and holding information?

Yes, this solution provides access to futures contract details, daily market data, and holding information for the Chinese market via the Tushare API.

What's the best way to get historical closing prices and trading volume for a specific Chinese stock?

The best way to get historical closing prices and trading volume for a specific Chinese stock is to query the daily stock data endpoint via the Tushare API, specifying the stock code and desired date range.