This connects Claude to Tushare Pro, China's leading financial data platform for stocks, funds, futures, and bonds. You get access to daily market data, company financials (income statements, balance sheets, cash flow), trading calendars, IPO listings, and market indicators like PE ratios and money flow. Stock codes need exchange suffixes like .SH for Shanghai or .SZ for Shenzhen. Fair warning: you'll need to register for a Tushare token and watch your API credits since different endpoints have different costs. Data updates 1-2 hours after market close, and free tier users hit rate limits pretty quickly. Solid choice if you're building Chinese market analysis tools or need programmatic access to mainland financial data without scraping.

skills.sh installs
433
GitHub stars
14
last updated
Jun 3, 2026

Install

$ npx -y skills add daydreammy/tushare-openclaw-skill --skill tushare-api --agent claude-code

Installs into .claude/skills of the current project.

Files

Tushare API Skill

简介

Tushare Pro 是中国领先的金融数据平台,提供股票、基金、期货、债券、外汇、数字货币等全品类金融大数据。

官网: https://tushare.pro API 文档: https://tushare.pro/document/2

股票代码规范

所有股票代码都需要带后缀:

交易所后缀示例
上海证券交易所.SH600000.SH
深圳证券交易所.SZ000001.SZ
北京证券交易所.BJ835305.BJ
香港证券交易所.HK00001.HK

常用 API 接口

基础数据

  • stock_basic - 股票基础信息
  • trade_cal - 交易日历
  • stock_company - 上市公司基本信息
  • new_share - IPO 新股列表

行情数据

  • daily - 日线行情
  • weekly - 周线行情
  • monthly - 月线行情
  • adj_factor - 复权因子
  • daily_basic - 每日指标(PE/PB/市值等)

财务数据

  • income - 利润表
  • balance_sheet - 资产负债表
  • cashflow - 现金流量表
  • forecast - 业绩预告
  • express - 业绩快报
  • dividend - 分红送股
  • fina_indicator - 财务指标

市场数据

  • moneyflow - 个股资金流向
  • limit_list - 每日涨跌停股票
  • top_list - 龙虎榜数据
  • block_trade - 大宗交易

使用方法

Python SDK

import tushare as ts

# 设置 token(需要用户自行申请)
pro = ts.pro_api('your_token_here')

# 获取股票列表
df = pro.stock_basic(exchange='', list_status='L', fields='ts_code,symbol,name,area,industry,list_date')

# 获取日线行情
df = pro.daily(ts_code='000001.SZ', start_date='20240101', end_date='20240201')

Sponsors

Details

Repository
github.com/daydreammy/tushare-openclaw-skill
Category
Backend & APIs
First seen
Jun 3, 2026
1bobmatnyc avatardatabase-migrationbobmatnyc/claude-mpm-skillsSafe patterns for evolving database schemas in production with decision trees and troubleshooting guidance.427skills.sh installs
2sickn33 avatardatabase-adminsickn33/antigravity-awesome-skillsdatabase admin423skills.sh installs
3sickn33 avatarauth-implementation-patternssickn33/antigravity-awesome-skillsauth implementation patterns418skills.sh installs
4davila7 avataropenalex-databasedavila7/claude-code-templatesQuery and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, fin416skills.sh installs
5secondsky avatarapi-changelog-versioningsecondsky/claude-skillsCreates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use when managing API versions, com415skills.sh installs
6secondsky avatarapi-versioning-strategysecondsky/claude-skillsImplements API versioning using URL paths, headers, or query parameters with backward compatibility and deprecation strategies. Use when managing multiple API v410skills.sh installs