tushare-finance获取中国金融市场数据(A股、港股、美股、基金、期货、债券)。支持220+个Tushare Pro接口:股票行情、财务报表、宏观经济指标。当用户请求股价数据、财务分析、指数行情、GDP/CPI等宏观数据时使用。
Install via ClawdBot CLI:
clawdbot install StanleyChanH/tushare-finance本 skill 通过 Tushare Pro API 获取中国金融市场数据,支持 220+ 个数据接口。
询问用户:是否已配置 Tushare Token?
如未配置,引导用户:
export TUSHARE_TOKEN="your_token"检查 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')
接口索引:reference/README.md
接口文档按类别组织:
Generated Feb 25, 2026
Financial analysts and individual investors use this skill to retrieve historical stock prices, financial statements, and key indicators like ROE for equity valuation and portfolio management. It supports backtesting strategies by providing clean, structured data from Chinese markets.
Economists and policy analysts leverage the skill to access GDP, CPI, and other macroeconomic data for tracking economic trends, forecasting, and reporting. It enables quick updates on China's economic health without manual data collection.
Asset managers and fund administrators utilize the skill to obtain fund NAV data, bond yields, and index performance for portfolio rebalancing and client reporting. It streamlines data aggregation across multiple asset classes in Chinese markets.
Students and researchers in finance or economics employ this skill to gather real-world data for projects, theses, or simulations. It provides access to a wide range of financial datasets for empirical analysis and learning.
Developers building fintech applications integrate this skill to fetch live and historical market data for features like dashboards, alerts, or automated trading systems. It reduces development time by offering pre-built API access.
Companies offer subscription-based access to enriched financial data derived from Tushare, targeting hedge funds and research firms. Revenue is generated through tiered pricing based on data volume and frequency.
Consultants use the skill to provide tailored financial analysis, risk assessments, and market reports for clients in banking or corporate sectors. Revenue comes from project-based fees and ongoing advisory services.
Online learning platforms incorporate this skill into finance courses, offering hands-on data exercises and simulations. Revenue is driven by course enrollments, certifications, and premium content access.
💬 Integration Tip
Ensure the TUSHARE_TOKEN environment variable is set before use, and verify Python dependencies like pandas are installed to avoid runtime errors.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.