← All skills
Tencent SkillHub · Data Analysis

tushare-finance

获取中国金融市场数据(A股、港股、美股、基金、期货、债券)。支持220+个Tushare Pro接口:股票行情、财务报表、宏观经济指标。当用户请求股价数据、财务分析、指数行情、GDP/CPI等宏观数据时使用。

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

获取中国金融市场数据(A股、港股、美股、基金、期货、债券)。支持220+个Tushare Pro接口:股票行情、财务报表、宏观经济指标。当用户请求股价数据、财务分析、指数行情、GDP/CPI等宏观数据时使用。

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Item is unstable.

This item is timing out or returning errors right now. Review the source page and try again later.

Quick setup
  1. Wait for the source to recover or retry later.
  2. Review SKILL.md only after the source returns a real package.
  3. Do not rely on this source for automated install yet.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Manual review
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
QUICK_REFERENCE.md, README.md, SKILL.md, metadata.json, reference/README.md, reference/all_links.json

Validation

  • Wait for the source to recover or retry later.
  • Review SKILL.md only after the download returns a real package.
  • Treat this source as transient until the upstream errors clear.

Install with your agent

Agent handoff

Use the source page and any available docs to guide the install because the item is currently unstable or timing out.

  1. Open the source page via Review source status.
  2. If you can obtain the package, extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the source page and extracted files.
New install

I tried to install a skill package from Yavira, but the item is currently unstable or timing out. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required. Then review README.md for any prerequisites, environment setup, or post-install checks.

Upgrade existing

I tried to upgrade a skill package from Yavira, but the item is currently unstable or timing out. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need. Then review README.md for any prerequisites, environment setup, or post-install checks.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
2.0.6

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

Tushare 金融数据 Skill

本 skill 通过 Tushare Pro API 获取中国金融市场数据,支持 220+ 个数据接口。

1. Token 配置

询问用户:是否已配置 Tushare Token? 如未配置,引导用户: 访问 https://tushare.pro 注册 获取 Token 配置环境变量:export TUSHARE_TOKEN="your_token"

2. 验证依赖

检查 Python 环境: python -c "import tushare, pandas; print('OK')" 如报错,安装依赖: pip install tushare pandas

常用接口速查

数据类型接口方法说明股票列表pro.stock_basic()获取所有股票列表日线行情pro.daily()获取日线行情数据财务指标pro.fina_indicator()财务指标(ROE等)利润表pro.income()利润表数据指数行情pro.index_daily()指数日线数据基金净值pro.fund_nav()基金净值数据GDP数据pro.gdp()国内生产总值CPI数据pro.cpi()居民消费价格指数 完整接口列表:查看 接口文档索引

数据获取流程

查找接口:根据需求在 接口索引 找到对应接口 阅读文档:查看 reference/接口文档/[接口名].md 了解参数 编写代码: import tushare as ts # 初始化(使用环境变量中的 Token) pro = ts.pro_api() # 调用接口 df = pro.daily(ts_code='000001.SZ', start_date='20241201', end_date='20241231') 返回结果:DataFrame 格式

参数格式说明

日期:YYYYMMDD(如 20241231) 股票代码:ts_code 格式(如 000001.SZ, 600000.SH) 返回格式:pandas DataFrame

接口文档参考

接口索引:reference/README.md 接口文档按类别组织: 股票数据(39 个接口) 指数数据(18 个接口) 基金数据(11 个接口) 期货期权(16 个接口) 宏观经济(10 个接口) 港股美股(23 个接口) 债券数据(16 个接口)

参考资源

Tushare 官方文档:https://tushare.pro/document/2 API 测试工具:https://tushare.pro/document/1

Category context

Data access, storage, extraction, analysis, reporting, and insight generation.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs2 Config
  • SKILL.md Primary doc
  • QUICK_REFERENCE.md Docs
  • README.md Docs
  • reference/README.md Docs
  • metadata.json Config
  • reference/all_links.json Config