tushare

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Tushare

Tushare

概述

Overview

tushare是一个财经数据接口包,拥有丰富的数据内容,如股票、基金、期货、数字货币等行情数据,公司财务、基金经理等基本面数据。该技能通过代理地址转发数据请求,保留官方 Tushare Pro 的接口调用语法,并在运行前自动完成代理配置检查。
Tushare is a financial data interface package with rich data content, including market data such as stocks, funds, futures, digital currencies, and fundamental data such as corporate finance and fund managers. This skill forwards data requests through a proxy address, retains the interface calling syntax of the official Tushare Pro, and automatically completes proxy configuration checks before running.

快速上手

Quick Start

  • 安装python运行环境(推荐python3.7+),并安装tushare依赖包(推荐从清华pypi镜像安装)。
bash
pip install tushare -i https://pypi.tuna.tsinghua.edu.cn/simple
  • 首次运行该 Skill,或当前会话里尚未确认代理配置可用时,必须先完成一次代理检查;同一会话内配置已确认可用后,后续查询无需重复检查。
  • 配置读取顺序固定为:
    1. 当前进程环境变量
    2. ~/.config/tushare-skills/env
  • 如果任一配置缺失:
    1. 立即中断当前任务
    2. 明确告知用户缺失的变量名
    3. 要求用户提供缺失值
    4. 收到后,由智能体直接写入
      ~/.config/tushare-skills/env
      ,内容固定为
      KEY=value
      ,并将文件权限设置为
      600
    5. 写入完成后再继续执行数据查询
  • 如果配置值存在:
    1. 先把读取到的
      TUSHARE_PROXY_TOKEN
      TUSHARE_PROXY_URL
      注入当前执行命令的进程环境
    2. 直接执行用户要查询的实际接口
    3. 如果实际接口返回鉴权失败、连接失败或代理地址错误,也必须立即中断,要求用户提供正确值,并覆写
      ~/.config/tushare-skills/env
  • 不要要求用户手动执行初始化脚本。
  • 不要在回复、日志、示例或仓库文档中暴露真实代理地址或真实 token。
  • 查询Tushare接口文档,找到对应的接口。 在线数据接口文档
  • 根据接口文档,使用python代码获取数据。(如股票列表接口)
下面的初始化示例假设前置配置检查已经通过。
python
import os
import tushare as ts
  • Install a Python runtime environment (Python 3.7+ is recommended), and install the tushare dependency package (installation from Tsinghua PyPI mirror is recommended).
bash
pip install tushare -i https://pypi.tuna.tsinghua.edu.cn/simple
  • When running this Skill for the first time, or when the proxy configuration has not been confirmed available in the current session, you must complete a proxy check first; after the configuration is confirmed available in the same session, there is no need to repeat the check for subsequent queries.
  • The configuration reading order is fixed as:
    1. Current process environment variables
    2. ~/.config/tushare-skills/env
  • If any configuration is missing:
    1. Immediately interrupt the current task
    2. Clearly inform the user of the missing variable name
    3. Request the user to provide the missing value
    4. After receiving it, the agent directly writes it to
      ~/.config/tushare-skills/env
      in the fixed format of
      KEY=value
      , and sets the file permission to
      600
    5. Continue executing the data query after writing is completed
  • If the configuration value exists:
    1. First inject the obtained
      TUSHARE_PROXY_TOKEN
      and
      TUSHARE_PROXY_URL
      into the process environment of the current execution command
    2. Directly execute the actual interface requested by the user
    3. If the actual interface returns authentication failure, connection failure or proxy address error, you must also interrupt immediately, request the user to provide the correct value, and overwrite
      ~/.config/tushare-skills/env
  • Do not require users to manually execute initialization scripts.
  • Do not expose real proxy addresses or real tokens in replies, logs, examples or repository documents.
  • Query the Tushare interface documentation to find the corresponding interface. Online Data Interface Documentation
  • Use Python code to obtain data according to the interface documentation. (e.g., Stock List interface)
The following initialization example assumes that the pre-configuration check has passed.
python
import os
import tushare as ts

使用代理方式初始化 pro 接口实例

Initialize the pro interface instance using proxy mode

pro = ts.pro_api("12345") pro._DataApi__token = os.getenv("TUSHARE_PROXY_TOKEN", "") pro._DataApi__http_url = os.getenv("TUSHARE_PROXY_URL", "")
pro = ts.pro_api("12345") pro._DataApi__token = os.getenv("TUSHARE_PROXY_TOKEN", "") pro._DataApi__http_url = os.getenv("TUSHARE_PROXY_URL", "")

查询数据接口(股票列表),获取上市交易的股票列表

Query the data interface (Stock List) to get the list of listed trading stocks

df = pro.stock_basic(list_status='L', fields='ts_code,symbol,name,area,industry,list_date') print(df)

其余接口用法与官方 Tushare Pro 保持一致,只需保留相同的 `pro.xxx(...)` 调用方式即可。
df = pro.stock_basic(list_status='L', fields='ts_code,symbol,name,area,industry,list_date') print(df)

The usage of other interfaces is consistent with the official Tushare Pro, just keep the same `pro.xxx(...)` calling method.

参数格式说明

Parameter Format Description

  • 日期:YYYYMMDD(如 20241231)
  • 股票代码:ts_code 格式(如 000001.SZ, 600000.SH)
  • 返回格式:pandas DataFrame
  • Date: YYYYMMDD (e.g., 20241231)
  • Stock code: ts_code format (e.g., 000001.SZ, 600000.SH)
  • Return format: pandas DataFrame

python脚本示例

Python Script Examples

  • 股票数据获取示例
  • 基金数据获取示例
  • Stock Data Acquisition Example
  • Fund Data Acquisition Example

数据接口列表

Data Interface List

ID接口名标题(详细文档)分类描述
416rt_minETF实时分钟ETF专题获取ETF实时分钟数据,包括1~60min
400rt_etf_kETF实时日线ETF专题获取ETF实时日k线行情,支持按ETF代码或代码通配符一次性提取全部ETF实时日k线行情
387stk_minsETF历史分钟ETF专题获取ETF分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式
386etf_indexETF基准指数ETF专题获取ETF基准指数列表信息
385etf_basicETF基本信息ETF专题获取国内ETF基础信息,包括了QDII。数据来源与沪深交易所公开披露信息。
199fund_adjETF复权因子ETF专题获取基金复权因子,用于计算基金复权行情
127fund_dailyETF日线行情ETF专题获取ETF行情每日收盘后成交数据,历史超过10年
408etf_share_sizeETF份额规模ETF专题获取沪深ETF每日份额和规模数据,能体现规模份额的变化,掌握ETF资金动向,同时提供每日净值和收盘价;数据指标是分批入库,建议在每日19点后提取;另外,涉及海外的ETF数据更新会晚一些属于正常情况。
322bc_otcqt柜台流通式债券报价债券专题柜台流通式债券报价
305cb_rate可转债票面利率债券专题获取可转债票面利率
272bond_blk_detail大宗交易明细债券专题获取沪深交易所债券大宗交易数据,可以通过数据工具调试和查看数据。
271bond_blk大宗交易债券专题获取沪深交易所债券大宗交易数据,可以通过数据工具调试和查看数据。
269cb_call可转债赎回信息债券专题获取可转债到期赎回、强制赎回等信息。数据来源于公开披露渠道,供个人和机构研究使用,请不要用于数据商业目的。
256repo_daily债券回购日行情债券专题债券回购日行情
323bc_bestotcqt柜台流通式债券最优报价债券专题柜台流通式债券最优报价
392cb_factor_pro可转债技术面因子(专业版)债券专题获取可转债每日技术面因子数据,用于跟踪可转债当前走势情况,数据由Tushare社区自产,覆盖全历史;输出参数_bfq表示不复权,_qfq表示前复权 _hfq表示后复权,描述中说明了因子的默认传参,如需要特殊参数或者更多因子可以联系管理员评估
246cb_price_chg可转债转股价变动债券专题获取可转债转股价变动
233eco_cal全球财经事件债券专题获取全球财经日历、包括经济事件数据更新
201yc_cb国债收益率曲线债券专题获取中债收益率曲线,目前可获取中债国债收益率曲线即期和到期收益率曲线数据
187cb_daily可转债行情债券专题获取可转债行情
186cb_issue可转债发行债券专题获取可转债发行数据
185cb_basic可转债基础信息债券专题获取可转债基本信息
247cb_share可转债转股结果债券专题获取可转债转股结果
208fund_manager基金经理公募基金获取公募基金经理数据,包括基金经理简历等数据
207fund_share基金规模公募基金获取基金规模数据,包含上海和深圳ETF基金
121fund_portfolio基金持仓公募基金获取公募基金持仓数据,季度更新
120fund_div基金分红公募基金获取公募基金分红数据
119fund_nav基金净值公募基金获取公募基金净值数据
118fund_company基金管理人公募基金获取公募基金管理人列表
19fund_basic基金列表公募基金获取公募基金数据列表,包括场内和场外基金
359fund_factor_pro基金技术面因子(专业版)公募基金获取场内基金每日技术面因子数据,用于跟踪场内基金当前走势情况,数据由Tushare社区自产,覆盖全历史;输出参数_bfq表示不复权,描述中说明了因子的默认传参,如需要特殊参数或者更多因子可以联系管理员评估
178fx_obasic外汇基础信息(海外)外汇数据获取海外外汇基础信息,目前只有FXCM交易商的数据
179fx_daily外汇日线行情外汇数据获取外汇日线行情
415research_report券商研究报告大模型语料专题数据获取券商研究报告-个股、行业等,历史数据从20170101开始提供,增量每天两次更新
143news新闻快讯(短讯)大模型语料专题数据获取主流新闻网站的快讯新闻数据,提供超过6年以上历史新闻。
154cctv_news新闻联播文字稿大模型语料专题数据获取新闻联播文字稿数据,数据开始于2017年。
176anns_d上市公司公告大模型语料专题数据获取全量公告数据,提供pdf下载URL
367irm_qa_sz深证易互动问答大模型语料专题数据
366irm_qa_sh上证e互动问答大模型语料专题数据
195major_news新闻通讯(长篇)大模型语料专题数据获取长篇通讯信息,覆盖主要新闻资讯网站,提供超过8年历史新闻。
406npr国家政策库大模型语料专题数据获取国家行政机关公开披露的各类法规、条例政策、批复、通知等文本数据。
245cn_ppi工业生产者出厂价格指数(PPI)宏观经济,国内宏观,价格指数获取PPI工业生产者出厂价格指数数据
228cn_cpi居民消费价格指数(CPI)宏观经济,国内宏观,价格指数获取CPI居民消费价格数据,包括全国、城市和农村的数据
149shiborShibor利率宏观经济,国内宏观,利率数据shibor利率
151shibor_lprLPR贷款基础利率宏观经济,国内宏观,利率数据LPR贷款基础利率
152liborLibor利率宏观经济,国内宏观,利率数据Libor拆借利率
150shibor_quoteShibor报价数据宏观经济,国内宏观,利率数据Shibor报价数据
173wz_index温州民间借贷利率宏观经济,国内宏观,利率数据温州民间借贷利率,即温州指数
153hiborHibor利率宏观经济,国内宏观,利率数据Hibor利率
174gz_index广州民间借贷利率宏观经济,国内宏观,利率数据广州民间借贷利率
227cn_gdp国内生产总值(GDP)宏观经济,国内宏观,国民经济获取国民经济之GDP数据
325cn_pmi采购经理指数(PMI)宏观经济,国内宏观,景气度采购经理人指数
310sf_month社融增量(月度)宏观经济,国内宏观,金融,社会融资获取月度社会融资数据
242cn_m货币供应量(月)宏观经济,国内宏观,金融,货币供应量获取货币供应量之月度数据
221us_tbr短期国债利率宏观经济,国际宏观,美国利率获取美国短期国债利率数据
220us_trycr国债实际收益率曲线利率宏观经济,国际宏观,美国利率国债实际收益率曲线利率
222us_tltr国债长期利率宏观经济,国际宏观,美国利率国债长期利率
223us_trltr国债长期利率平均值宏观经济,国际宏观,美国利率国债实际长期利率平均值
219us_tycr国债收益率曲线利率宏观经济,国际宏观,美国利率获取美国每日国债收益率曲线利率
420rt_idx_min指数实时分钟指数专题获取交易所指数实时分钟数据,包括1~60min
419idx_mins指数历史分钟指数专题获取交易所指数分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式
215daily_info沪深市场每日交易统计指数专题获取交易所股票交易统计,包括各板块明细
211index_global国际主要指数指数专题获取国际主要指数日线行情
181index_classify申万行业分类指数专题获取申万行业分类,可以获取申万2014年版本(28个一级分类,104个二级分类,227个三级分类)和2021年本版(31个一级分类,134个二级分类,346个三级分类)列表信息
268sz_daily_info深圳市场每日交易情况指数专题获取深圳市场每日交易概况
128index_dailybasic大盘指数每日指标指数专题目前只提供上证综指,深证成指,上证50,中证500,中小板指,创业板指的每日指标数据
403rt_idx_k指数实时日线指数专题获取交易所指数实时日线行情,支持按代码或代码通配符一次性提取全部交易所指数实时日k线行情
96index_weight指数成分和权重指数专题获取各类指数成分和权重,月度数据 ,建议输入参数里开始日期和结束日分别输入当月第一天和最后一天的日期。
373ci_index_member中信行业成分指数专题按三级分类提取中信行业成分,可提供某个分类的所有成分,也可按股票代码提取所属分类,参数灵活
358idx_factor_pro指数技术面因子(专业版)指数专题获取指数每日技术面因子数据,用于跟踪指数当前走势情况,数据由Tushare社区自产,覆盖全历史;输出参数_bfq表示不复权描述中说明了因子的默认传参,如需要特殊参数或者更多因子可以联系管理员评估,指数包括大盘指数 申万行业指数 中信指数
335index_member_all申万行业成分(分级)指数专题按三级分类提取申万行业成分,可提供某个分类的所有成分,也可按股票代码提取所属分类,参数灵活
417rt_sw_k申万实时行情指数专题获取申万行业指数的最新截面数据
172index_monthly指数月线行情指数专题获取指数月线行情,每月更新一次
308ci_daily中信行业指数日行情指数专题获取中信行业指数日线行情
171index_weekly指数周线行情指数专题获取指数周线行情
327sw_daily申万行业指数日行情指数专题获取申万行业日线行情(默认是申万2021版行情)
95index_daily指数日线行情指数专题获取指数每日行情,还可以通过bar接口获取。由于服务器压力,目前规则是单次调取最多取8000行记录,可以设置start和end日期补全。指数行情也可以通过通用行情接口获取数据.
94index_basic指数基本信息指数专题获取指数基础信息。
341opt_mins期权分钟行情期权数据获取全市场期权合约分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式。
159opt_daily期权日线行情期权数据获取期权日线行情
158opt_basic期权合约信息期权数据获取期权合约信息
216fut_weekly_detail期货主要品种交易周报期货数据获取期货交易所主要品种每周交易统计信息,数据从2010年3月开始
368ft_limit期货合约涨跌停价格期货数据获取所有期货合约每天的涨跌停价格及最低保证金率,数据开始于2005年。
340rt_fut_min实时分钟行情期货数据获取全市场期货合约实时分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK、 http Restful API和websocket三种方式,如果需要主力合约分钟,请先通过主力mapping接口获取对应的合约代码后提取分钟。
135fut_basic合约信息期货数据获取期货合约列表数据
137trade_cal交易日历期货数据获取各大期货交易所交易日历数据
138fut_daily日线行情期货数据期货日线行情数据
139fut_holding每日持仓排名期货数据获取每日成交持仓排名数据
140fut_wsr仓单日报期货数据获取仓单日报数据,了解各仓库/厂库的仓单变化
141fut_settle每日结算参数期货数据获取每日结算参数数据,包括交易和交割费率等
155index_daily南华期货指数行情期货数据获取南华指数每日行情,指数行情也可以通过通用行情接口获取数据.
189fut_mapping期货主力与连续合约期货数据获取期货主力(或连续)合约与月合约映射数据
313ft_mins历史分钟行情期货数据获取全市场期货合约分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式,如果需要主力合约分钟,请先通过主力mapping接口获取对应的合约代码后提取分钟。
337fut_weekly_monthly期货周月线行情(每日更新)期货数据期货周/月线行情(每日更新)
391hk_cashflow港股现金流量表港股数据获取港股上市公司现金流量表数据
390hk_balancesheet港股资产负债表港股数据获取港股上市公司资产负债表
389hk_income港股利润表港股数据获取港股上市公司财务利润表数据
388hk_fina_indicator港股财务指标数据港股数据获取港股上市公司财务指标数据,为避免服务器压力,现阶段每次请求最多返回200条记录,可通过设置日期多次请求获取更多数据。
401hk_adjfactor港股复权因子港股数据获取港股每日复权因子数据,每天滚动刷新
339hk_daily_adj港股复权行情港股数据获取港股复权行情,提供股票股本、市值和成交及换手多个数据指标
383rt_hk_k港股实时日线港股数据获取港股实时日k线行情,支持按股票代码及股票代码通配符一次性提取全部股票实时日k线行情
191hk_basic港股基础信息港股数据获取港股列表信息
192hk_daily港股日线行情港股数据获取港股每日增量和历史行情,每日18点左右更新当日数据
304hk_mins港股分钟行情港股数据港股分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式
250hk_tradecal港股交易日历港股数据获取交易日历
285sge_daily上海黄金现货日行情现货数据获取上海黄金交易所现货合约日线行情
284sge_basic上海黄金基础信息现货数据获取上海黄金交易所现货合约基础信息
393us_fina_indicator美股财务指标数据美股数据获取美股上市公司财务指标数据,目前只覆盖主要美股和中概股。为避免服务器压力,现阶段每次请求最多返回200条记录,可通过设置日期多次请求获取更多数据。
402us_adjfactor美股复权因子美股数据获取美股每日复权因子数据,在每天美股收盘后滚动刷新
396us_cashflow美股现金流量表美股数据获取美股上市公司现金流量表数据(目前只覆盖主要美股和中概股)
395us_balancesheet美股资产负债表美股数据获取美股上市公司资产负债表(目前只覆盖主要美股和中概股)
394us_income美股利润表美股数据获取美股上市公司财务利润表数据(目前只覆盖主要美股和中概股)
254us_daily美股日线行情美股数据获取美股行情(未复权),包括全部股票全历史行情,以及重要的市场和估值指标
253us_tradecal美股交易日历美股数据获取美股交易日历信息
252us_basic美股基础信息美股数据获取美股列表信息
338us_daily_adj美股复权行情美股数据获取美股复权行情,支持美股全市场股票,提供股本、市值、复权因子和成交信息等多个数据指标
326margin_secs融资融券标的(盘前)股票数据,两融及转融通获取沪深京三大交易所融资融券标的(包括ETF),每天盘前更新
331slb_len转融资交易汇总股票数据,两融及转融通转融通融资汇总
332slb_sec转融券交易汇总(停)股票数据,两融及转融通转融通转融券交易汇总
333slb_sec_detail转融券交易明细(停)股票数据,两融及转融通转融券交易明细
59margin_detail融资融券交易明细股票数据,两融及转融通获取沪深两市每日融资融券明细
58margin融资融券交易汇总股票数据,两融及转融通获取融资融券每日交易汇总数据
334slb_len_mm做市借券交易汇总(停)股票数据,两融及转融通做市借券交易汇总
124repurchase股票回购股票数据,参考数据获取上市公司回购股票数据
110pledge_stat股权质押统计数据股票数据,参考数据获取股票质押统计数据
160share_float限售股解禁股票数据,参考数据获取限售股解禁
161block_trade大宗交易股票数据,参考数据大宗交易
164stk_account股票开户数据(停)股票数据,参考数据获取股票账户开户数据,统计周期为一周
165stk_account_old股票开户数据(旧)股票数据,参考数据获取股票账户开户数据旧版格式数据,数据从2008年1月开始,到2015年5月29,新数据请通过股票开户数据获取。
166stk_holdernumber股东人数股票数据,参考数据获取上市公司股东户数数据,数据不定期公布
175stk_holdertrade股东增减持股票数据,参考数据获取上市公司增减持数据,了解重要股东近期及历史上的股份增减变化
61top10_holders前十大股东股票数据,参考数据获取上市公司前十大股东数据,包括持有数量和比例等信息
111pledge_detail股权质押明细数据股票数据,参考数据获取股票质押明细数据
62top10_floatholders前十大流通股东股票数据,参考数据获取上市公司前十大流通股东数据
423stST风险警示板股票股票数据,基础数据ST风险警示板股票列表
398stock_hsgt沪深港通股票列表股票数据,基础数据获取沪深港通股票列表
397stock_stST股票列表股票数据,基础数据获取ST股票列表,可根据交易日期获取历史上每天的ST列表
375bse_mapping北交所新旧代码对照股票数据,基础数据获取北交所股票代码变更后新旧代码映射表数据
329stk_premarket每日股本(盘前)股票数据,基础数据每日开盘前获取当日股票的股本情况,包括总股本和流通股本,涨跌停价格等。
123new_shareIPO新股上市股票数据,基础数据获取新股上市列表数据
194stk_rewards管理层薪酬和持股股票数据,基础数据获取上市公司管理层薪酬和持股
193stk_managers上市公司管理层股票数据,基础数据获取上市公司管理层
112stock_company上市公司基本信息股票数据,基础数据获取上市公司基础信息,单次提取4500条,可以根据交易所分批提取
100namechange股票曾用名股票数据,基础数据历史名称变更记录
26trade_cal交易日历股票数据,基础数据获取各大交易所交易日历数据,默认提取的是上交所
25stock_basic股票列表股票数据,基础数据获取基础信息数据,包括股票代码、名称、上市日期、退市日期等
262bak_basic股票历史列表股票数据,基础数据获取备用基础列表,数据从2016年开始
382dc_daily东财概念和行业指数行情股票数据,打板专题数据获取东财概念板块、行业指数板块、地域板块行情数据,历史数据开始于2020年
321dc_hot东方财富App热榜股票数据,打板专题数据获取东方财富App热榜数据,包括A股市场、ETF基金、港股市场、美股市场等等,每日盘中提取4次,收盘后4次,最晚22点提取一次。
298limit_list_d涨跌停和炸板数据股票数据,打板专题数据获取A股每日涨跌停、炸板数据情况,数据从2020年开始(不提供ST股票的统计)
311hm_list市场游资最全名录股票数据,打板专题数据获取游资分类名录信息
347kpl_list榜单数据(开盘啦)股票数据,打板专题数据获取开盘啦涨停、跌停、炸板等榜单数据
261ths_member同花顺行业概念成分股票数据,打板专题数据获取同花顺概念板块成分列表注:数据版权归属同花顺,如做商业用途,请主动联系同花顺。
260ths_daily同花顺概念和行业指数行情股票数据,打板专题数据获取同花顺板块指数行情。注:数据版权归属同花顺,如做商业用途,请主动联系同花顺,如需帮助请联系微信:waditu_a
259ths_index同花顺行业概念板块股票数据,打板专题数据获取同花顺板块指数。注:数据版权归属同花顺,如做商业用途,请主动联系同花顺,如需帮助请联系微信:waditu_a
107top_inst龙虎榜机构交易单股票数据,打板专题数据龙虎榜机构成交明细
351kpl_concept_cons题材成分(开盘啦)股票数据,打板专题数据获取开盘啦概念题材的成分股
355limit_list_ths同花顺涨跌停榜单股票数据,打板专题数据获取同花顺每日涨跌停榜单数据,历史数据从20231101开始提供,增量每天16点左右更新
356limit_step涨停股票连板天梯股票数据,打板专题数据获取每天连板个数晋级的股票,可以分析出每天连续涨停进阶个数,判断强势热度
357limit_cpt_list涨停最强板块统计股票数据,打板专题数据获取每天涨停股票最多最强的概念板块,可以分析强势板块的轮动,判断资金动向
362dc_index东方财富概念板块股票数据,打板专题数据获取东方财富每个交易日的概念板块数据,支持按日期查询
363dc_member东方财富概念成分股票数据,打板专题数据获取东方财富板块每日成分数据,可以根据概念板块代码和交易日期,获取历史成分
369stk_auction开盘竞价成交(当日)股票数据,打板专题数据获取当日个股和ETF的集合竞价成交情况,每天9点25~29分之间可以获取当日的集合竞价成交数据
376tdx_index通达信板块信息股票数据,打板专题数据获取通达信板块基础信息,包括概念板块、行业、风格、地域等
106top_list龙虎榜每日统计单股票数据,打板专题数据龙虎榜每日交易明细
377tdx_member通达信板块成分股票数据,打板专题数据获取通达信各板块成分股信息
378tdx_daily通达信板块行情股票数据,打板专题数据获取通达信各板块行情,包括成交和估值等数据
312hm_detail游资交易每日明细股票数据,打板专题数据获取每日游资交易明细,数据开始于2022年8。游资分类名录,请点击<a href="https://tushare.pro/document/2?doc_id=311">游资名录</a>
320ths_hot同花顺App热榜数股票数据,打板专题数据获取同花顺App热榜数据,包括热股、概念板块、ETF、可转债、港美股等等,每日盘中提取4次,收盘后4次,最晚22点提取一次。
364stk_nineturn神奇九转指标股票数据,特色数据神奇九转(又称“九转序列”)是一种基于技术分析的股票趋势反转指标,其思想来源于技术分析大师汤姆·迪马克(Tom DeMark)的TD序列。该指标的核心功能是通过识别股价在上涨或下跌过程中连续9天的特定走势,来判断股价的潜在反转点,从而帮助投资者提高抄底和逃顶的成功率,日线级别配合60min的九转效果更好,数据从20230101开始。
188hk_hold沪深股通持股明细股票数据,特色数据获取沪深港股通持股明细,数据来源港交所。
267broker_recommend券商月度金股股票数据,特色数据获取券商月度金股,一般1日~3日内更新当月数据
274ccass_hold_detail中央结算系统持股明细股票数据,特色数据获取中央结算系统机构席位持股明细,数据覆盖全历史,根据交易所披露时间,当日数据在下一交易日早上9点前完成
275stk_surv机构调研数据股票数据,特色数据获取上市公司机构调研记录数据
292report_rc券商盈利预测数据股票数据,特色数据获取券商(卖方)每天研报的盈利预测数据,数据从2010年开始,每晚19~22点更新当日数据
293cyq_perf每日筹码及胜率股票数据,特色数据获取A股每日筹码平均成本和胜率情况,每天18~19点左右更新,数据从2018年开始
294cyq_chips每日筹码分布股票数据,特色数据获取A股每日的筹码分布情况,提供各价位占比,数据从2018年开始,每天18~19点之间更新当日数据
295ccass_hold中央结算系统持股统计股票数据,特色数据获取中央结算系统持股汇总数据,覆盖全部历史数据,根据交易所披露时间,当日数据在下一交易日早上9点前完成入库
353stk_auction_o股票开盘集合竞价数据股票数据,特色数据股票开盘9:30集合竞价数据,每天盘后更新
354stk_auction_c股票收盘集合竞价数据股票数据,特色数据股票收盘15:00集合竞价数据,每天盘后更新
399stk_ah_comparisonAH股比价股票数据,特色数据AH股比价数据,可根据交易日期获取历史
328stk_factor_pro股票技术面因子(专业版)股票数据,特色数据获取股票每日技术面因子数据,用于跟踪股票当前走势情况,数据由Tushare社区自产,覆盖全历史;输出参数_bfq表示不复权,_qfq表示前复权 _hfq表示后复权,描述中说明了因子的默认传参,如需要特殊参数或者更多因子可以联系管理员评估
27daily历史日线股票数据,行情数据获取股票行情数据,或通过通用行情接口获取数据,包含了前后复权数据
146pro_bar复权行情股票数据,行情数据
145monthly月线行情股票数据,行情数据获取A股月线数据
374rt_min实时分钟股票数据,行情数据获取全A股票实时分钟数据,包括1~60min
372rt_k实时日线股票数据,行情数据获取实时日k线行情,支持按股票代码及股票代码通配符一次性提取全部股票实时日k线行情
370stk_mins历史分钟股票数据,行情数据获取A股分钟数据,支持1min/5min/15min/30min/60min行情,提供Python SDK和 http Restful API两种方式
365stk_week_month_adj周月线复权行情(每日更新)股票数据,行情数据股票周/月线行情(复权--每日更新)
336stk_weekly_monthly周月线行情(每日更新)股票数据,行情数据股票周/月线行情(每日更新)
255bak_daily备用行情股票数据,行情数据获取备用行情,包括特定的行情指标(数据从2017年中左右开始,早期有几天数据缺失,近期正常)
144weekly周线行情股票数据,行情数据获取A股周线行情,本接口每周最后一个交易日更新,如需要使用每天更新的周线数据,请使用日度更新的周线行情接口
214suspend_d每日停复牌信息股票数据,行情数据按日期方式获取股票每日停复牌信息
196ggt_daily港股通每日成交统计股票数据,行情数据获取港股通每日成交信息,数据从2014年开始
183stk_limit每日涨跌停价格股票数据,行情数据获取全市场(包含A/B股和基金)每日涨跌停价格,包括涨停价格,跌停价格等,每个交易日8点40左右更新当日股票涨跌停价格。
109pro_bar通用行情接口股票数据,行情数据
49ggt_top10港股通十大成交股股票数据,行情数据获取港股通每日成交数据,其中包括沪市、深市详细数据,每天18~20点之间完成当日更新
48hsgt_top10沪深股通十大成交股股票数据,行情数据获取沪股通、深股通每日前十大成交详细数据,每天18~20点之间完成当日更新
32daily_basic每日指标股票数据,行情数据获取全部股票每日重要的基本面指标,可用于选股分析、报表展示等。单次请求最大返回6000条数据,可按日线循环提取全部历史。
28adj_factor复权因子股票数据,行情数据本接口由Tushare自行生产,获取股票复权因子,可提取单只股票全部历史复权因子,也可以提取单日全部股票的复权因子。
197ggt_monthly港股通每月成交统计股票数据,行情数据港股通每月成交信息,数据从2014年开始
33income利润表股票数据,财务数据获取上市公司财务利润表数据
44cashflow现金流量表股票数据,财务数据获取上市公司现金流量表
36balancesheet资产负债表股票数据,财务数据获取上市公司资产负债表
46express业绩快报股票数据,财务数据获取上市公司业绩快报
79fina_indicator财务指标数据股票数据,财务数据获取上市公司财务指标数据,为避免服务器压力,现阶段每次请求最多返回100条记录,可通过设置日期多次请求获取更多数据。
81fina_mainbz主营业务构成股票数据,财务数据获得上市公司主营业务构成,分地区和产品两种方式
103dividend分红送股数据股票数据,财务数据分红送股数据
162disclosure_date财报披露日期表股票数据,财务数据获取财报披露计划日期
45forecast业绩预告股票数据,财务数据获取业绩预告数据
80fina_audit财务审计意见股票数据,财务数据获取上市公司定期财务审计意见数据
47moneyflow_hsgt沪深港通资金流向股票数据,资金流向数据获取沪股通、深股通、港股通每日资金流向数据,每次最多返回300条记录,总量不限制。
170moneyflow个股资金流向股票数据,资金流向数据获取沪深A股票资金流向数据,分析大单小单成交情况,用于判别资金动向,数据开始于2010年。
343moneyflow_ind_ths行业资金流向(THS)股票数据,资金流向数据获取同花顺行业资金流向,每日盘后更新
344moneyflow_ind_dc板块资金流向(DC)股票数据,资金流向数据获取东方财富板块资金流向,每天盘后更新
345moneyflow_mkt_dc大盘资金流向(DC)股票数据,资金流向数据获取东方财富大盘资金流向数据,每日盘后更新
348moneyflow_ths个股资金流向(THS)股票数据,资金流向数据获取同花顺个股资金流向数据,每日盘后更新
349moneyflow_dc个股资金流向(DC)股票数据,资金流向数据获取东方财富个股资金流向数据,每日盘后更新,数据开始于20230911
371moneyflow_cnt_ths板块资金流向(THS)股票数据,资金流向数据获取同花顺概念板块每日资金流向
156film_record全国电影剧本备案数据行业经济,TMT行业获取全国电影剧本备案的公示数据
180teleplay_record全国电视剧备案公示数据行业经济,TMT行业获取2009年以来全国拍摄制作电视剧备案公示数据
87tmt_twincomedetail台湾电子产业月营收明细行业经济,TMT行业获取台湾TMT行业上市公司各类产品月度营收情况。
88tmt_twincome台湾电子产业月营收行业经济,TMT行业获取台湾TMT电子产业领域各类产品月度营收数据。
113bo_monthly电影月度票房行业经济,TMT行业获取电影月度票房数据
115bo_daily电影日度票房行业经济,TMT行业获取电影日度票房
116bo_cinema影院日度票房行业经济,TMT行业获取每日各影院的票房数据
114bo_weekly电影周度票房行业经济,TMT行业获取周度票房数据
265fund_sales_ratio各渠道公募基金销售保有规模占比财富管理,基金销售行业数据获取各渠道公募基金销售保有规模占比数据,年度更新
266fund_sales_vol销售机构公募基金销售保有规模财富管理,基金销售行业数据获取销售机构公募基金销售保有规模数据,本数据从2021年Q1开始公布,季度更新
IDInterface NameTitle (Detailed Documentation)CategoryDescription
416rt_minReal-time Minute Data for ETFETF TopicObtain real-time minute data for ETFs, including 1~60min
400rt_etf_kReal-time Daily K-line for ETFETF TopicObtain real-time daily K-line market data for ETFs, supporting one-time extraction of all real-time daily K-line market data for ETFs by ETF code or code wildcard
387stk_minsHistorical Minute Data for ETFETF TopicObtain minute data for ETFs, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods
386etf_indexETF Benchmark IndexETF TopicObtain the list information of ETF benchmark indices
385etf_basicBasic Information of ETFETF TopicObtain basic information of domestic ETFs, including QDII. Data sources are public disclosure information from Shanghai and Shenzhen Stock Exchanges.
199fund_adjETF Adjustment FactorETF TopicObtain fund adjustment factors for calculating fund adjusted market data
127fund_dailyDaily K-line Market Data for ETFETF TopicObtain daily closing transaction data of ETF market, with a history of over 10 years
408etf_share_sizeETF Share and ScaleETF TopicObtain daily share and scale data of Shanghai and Shenzhen ETFs, which can reflect changes in scale and shares, grasp the capital movement of ETFs, and also provide daily net value and closing price; data indicators are stored in batches, it is recommended to extract after 19:00 every day; in addition, the update of ETF data involving overseas markets will be later, which is normal.
322bc_otcqtOTC Bond QuotationsBond TopicOTC bond quotations
305cb_rateConvertible Bond Coupon RateBond TopicObtain coupon rates of convertible bonds
272bond_blk_detailBlock Trading Details of BondsBond TopicObtain block trading data of bonds from Shanghai and Shenzhen Stock Exchanges, you can debug and view data through Data Tool.
271bond_blkBlock Trading of BondsBond TopicObtain block trading data of bonds from Shanghai and Shenzhen Stock Exchanges, you can debug and view data through Data Tool.
269cb_callConvertible Bond Redemption InformationBond TopicObtain information such as maturity redemption and mandatory redemption of convertible bonds. Data comes from public disclosure channels, for personal and institutional research use, please do not use it for commercial data purposes.
256repo_dailyDaily Repurchase Market Data of BondsBond TopicDaily repurchase market data of bonds
323bc_bestotcqtBest OTC Bond QuotationsBond TopicBest OTC bond quotations
392cb_factor_proTechnical Factors of Convertible Bonds (Professional Version)Bond TopicObtain daily technical factor data of convertible bonds for tracking the current trend of convertible bonds. Data is produced by the Tushare community, covering the entire history; the output parameter _bfq indicates no adjustment, _qfq indicates forward adjustment, _hfq indicates backward adjustment. The default parameters of factors are explained in the description. If you need special parameters or more factors, you can contact the administrator for evaluation.
246cb_price_chgConvertible Bond Conversion Price ChangeBond TopicObtain conversion price changes of convertible bonds
233eco_calGlobal Financial EventsBond TopicObtain global financial calendar, including economic event data updates
201yc_cbTreasury Yield CurveBond TopicObtain China Bond yield curves, currently available for spot and maturity yield curves of China Bond treasury bonds
187cb_dailyMarket Data of Convertible BondsBond TopicObtain market data of convertible bonds
186cb_issueConvertible Bond IssuanceBond TopicObtain issuance data of convertible bonds
185cb_basicBasic Information of Convertible BondsBond TopicObtain basic information of convertible bonds
247cb_shareConvertible Bond Conversion ResultsBond TopicObtain conversion results of convertible bonds
208fund_managerFund ManagersPublic Fund TopicObtain data of public fund managers, including resumes of fund managers
207fund_shareFund ScalePublic Fund TopicObtain fund scale data, including ETFs from Shanghai and Shenzhen Stock Exchanges
121fund_portfolioFund HoldingsPublic Fund TopicObtain holding data of public funds, updated quarterly
120fund_divFund DividendsPublic Fund TopicObtain dividend data of public funds
119fund_navFund Net ValuePublic Fund TopicObtain net value data of public funds
118fund_companyFund ManagersPublic Fund TopicObtain the list of public fund managers
19fund_basicFund ListPublic Fund TopicObtain the list data of public funds, including on-exchange and off-exchange funds
359fund_factor_proTechnical Factors of Funds (Professional Version)Public Fund TopicObtain daily technical factor data of on-exchange funds for tracking the current trend of on-exchange funds. Data is produced by the Tushare community, covering the entire history; the output parameter _bfq indicates no adjustment. The default parameters of factors are explained in the description. If you need special parameters or more factors, you can contact the administrator for evaluation.
178fx_obasicBasic Information of Foreign Exchange (Overseas)Foreign Exchange DataObtain basic information of overseas foreign exchange, currently only data from FXCM broker is available
179fx_dailyDaily K-line Market Data of Foreign ExchangeForeign Exchange DataObtain daily K-line market data of foreign exchange
415research_reportBrokerage Research ReportsLarge Model Corpus Topic DataObtain brokerage research reports - individual stocks, industries, etc., historical data starts from 20170101, incremental updates are done twice a day
143newsNews FlashLarge Model Corpus Topic DataObtain flash news data from mainstream news websites, providing over 6 years of historical news.
154cctv_newsCCTV News ScriptLarge Model Corpus Topic DataObtain script data of CCTV News Broadcast, data starts from 2017.
176anns_dListed Company AnnouncementsLarge Model Corpus Topic DataObtain full announcement data, providing PDF download URLs
367irm_qa_szSZSE Easy Interaction Q&ALarge Model Corpus Topic Data
366irm_qa_shSSE e-Interaction Q&ALarge Model Corpus Topic Data
195major_newsLong-form News ReportsLarge Model Corpus Topic DataObtain long-form news reports, covering major news websites, providing over 8 years of historical news.
406nprNational Policy DatabaseLarge Model Corpus Topic DataObtain text data of various regulations, policies, approvals, notices, etc. publicly disclosed by national administrative authorities.
245cn_ppiProducer Price Index (PPI)Macroeconomics, Domestic Macroeconomics, Price IndexObtain PPI (Producer Price Index) data
228cn_cpiConsumer Price Index (CPI)Macroeconomics, Domestic Macroeconomics, Price IndexObtain CPI (Consumer Price Index) data, including national, urban and rural data
149shiborShibor Interest RateMacroeconomics, Domestic Macroeconomics, Interest Rate DataShibor interest rate
151shibor_lprLoan Prime Rate (LPR)Macroeconomics, Domestic Macroeconomics, Interest Rate DataLoan Prime Rate (LPR)
152liborLibor Interest RateMacroeconomics, Domestic Macroeconomics, Interest Rate DataLibor interbank offered rate
150shibor_quoteShibor Quotation DataMacroeconomics, Domestic Macroeconomics, Interest Rate DataShibor quotation data
173wz_indexWenzhou Private Lending Interest RateMacroeconomics, Domestic Macroeconomics, Interest Rate DataWenzhou private lending interest rate, i.e., Wenzhou Index
153hiborHibor Interest RateMacroeconomics, Domestic Macroeconomics, Interest Rate DataHibor interest rate
174gz_indexGuangzhou Private Lending Interest RateMacroeconomics, Domestic Macroeconomics, Interest Rate DataGuangzhou private lending interest rate
227cn_gdpGross Domestic Product (GDP)Macroeconomics, Domestic Macroeconomics, National EconomyObtain GDP data of national economy
325cn_pmiPurchasing Managers' Index (PMI)Macroeconomics, Domestic Macroeconomics, Business ClimatePurchasing Managers' Index
310sf_monthMonthly Social Financing IncrementMacroeconomics, Domestic Macroeconomics, Finance, Social FinancingObtain monthly social financing data
242cn_mMoney Supply (Monthly)Macroeconomics, Domestic Macroeconomics, Finance, Money SupplyObtain monthly data of money supply
221us_tbrUS Short-term Treasury Bond RateMacroeconomics, International Macroeconomics, US Interest RateObtain US short-term treasury bond rate data
220us_trycrUS Treasury Real Yield Curve RateMacroeconomics, International Macroeconomics, US Interest RateUS treasury real yield curve rate
222us_tltrUS Long-term Treasury Bond RateMacroeconomics, International Macroeconomics, US Interest RateUS long-term treasury bond rate
223us_trltrAverage US Long-term Treasury Real RateMacroeconomics, International Macroeconomics, US Interest RateAverage US long-term treasury real rate
219us_tycrUS Treasury Yield Curve RateMacroeconomics, International Macroeconomics, US Interest RateObtain daily US treasury yield curve rate data
420rt_idx_minReal-time Minute Data for IndicesIndex TopicObtain real-time minute data of exchange indices, including 1~60min
419idx_minsHistorical Minute Data for IndicesIndex TopicObtain minute data of exchange indices, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods
215daily_infoDaily Trading Statistics of Shanghai and Shenzhen MarketsIndex TopicObtain stock trading statistics of exchanges, including details of each sector
211index_globalMajor Global IndicesIndex TopicObtain daily K-line market data of major global indices
181index_classifyShenwan Industry ClassificationIndex TopicObtain Shenwan industry classification, which can get the list information of the 2014 version (28 first-level classifications, 104 second-level classifications, 227 third-level classifications) and the 2021 version (31 first-level classifications, 134 second-level classifications, 346 third-level classifications)
268sz_daily_infoDaily Trading Situation of Shenzhen MarketIndex TopicObtain daily trading overview of Shenzhen market
128index_dailybasicDaily Indicators of Market IndicesIndex TopicCurrently only provides daily indicator data of SSE Composite Index, SZSE Component Index, SSE 50, CSI 500, SME Board Index and ChiNext Index
403rt_idx_kReal-time Daily K-line for IndicesIndex TopicObtain real-time daily K-line market data of exchange indices, supporting one-time extraction of all real-time daily K-line market data of exchange indices by code or code wildcard
96index_weightIndex Components and WeightsIndex TopicObtain components and weights of various indices, monthly data , it is recommended to input the first day and last day of the current month as the start date and end date in the parameters.
373ci_index_memberCITIC Industry ComponentsIndex TopicExtract CITIC industry components by third-level classification, which can provide all components of a certain classification or extract the classification according to stock code, with flexible parameters
358idx_factor_proTechnical Factors of Indices (Professional Version)Index TopicObtain daily technical factor data of indices for tracking the current trend of indices. Data is produced by the Tushare community, covering the entire history; the output parameter _bfq indicates no adjustment. The default parameters of factors are explained in the description. If you need special parameters or more factors, you can contact the administrator for evaluation. Indices include market indices, Shenwan industry indices and CITIC indices.
335index_member_allShenwan Industry Components (Hierarchical)Index TopicExtract Shenwan industry components by third-level classification, which can provide all components of a certain classification or extract the classification according to stock code, with flexible parameters
417rt_sw_kReal-time Market Data of Shenwan Industry IndicesIndex TopicObtain the latest cross-sectional data of Shenwan industry indices
172index_monthlyMonthly K-line Market Data of IndicesIndex TopicObtain monthly K-line market data of indices, updated once a month
308ci_dailyDaily K-line Market Data of CITIC Industry IndicesIndex TopicObtain daily K-line market data of CITIC industry indices
171index_weeklyWeekly K-line Market Data of IndicesIndex TopicObtain weekly K-line market data of indices
327sw_dailyDaily K-line Market Data of Shenwan Industry IndicesIndex TopicObtain daily K-line market data of Shenwan industry indices (default is the 2021 version of Shenwan market data)
95index_dailyDaily K-line Market Data of IndicesIndex TopicObtain daily market data of indices, which can also be obtained through the General Market Interface. Due to server pressure, the current rule is that a single call can retrieve a maximum of 8000 records, and you can set start and end dates to complete the data.
94index_basicBasic Information of IndicesIndex TopicObtain basic information of indices.
341opt_minsMinute Market Data for OptionsOption DataObtain minute data of all market option contracts, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods.
159opt_dailyDaily K-line Market Data for OptionsOption DataObtain daily K-line market data of options
158opt_basicOption Contract InformationOption DataObtain option contract information
216fut_weekly_detailWeekly Trading Report of Major Futures VarietiesFutures DataObtain weekly trading statistics of major varieties in futures exchanges, data starts from March 2010
368ft_limitPrice Limits of Futures ContractsFutures DataObtain daily price limits and minimum margin rates of all futures contracts, data starts from 2005.
340rt_fut_minReal-time Minute Market Data for FuturesFutures DataObtain real-time minute data of all market futures contracts, supporting 1min/5min/15min/30min/60min market data, providing Python SDK, HTTP Restful API and websocket methods. If you need minute data of leading contracts, please first obtain the corresponding contract code through the leading mapping interface before extracting the minute data.
135fut_basicFutures Contract InformationFutures DataObtain the list data of futures contracts
137trade_calTrading CalendarFutures DataObtain trading calendar data of major futures exchanges
138fut_dailyDaily K-line Market Data for FuturesFutures DataDaily K-line market data of futures
139fut_holdingDaily Position RankingFutures DataObtain daily transaction and position ranking data
140fut_wsrWarehouse Receipt Daily ReportFutures DataObtain daily warehouse receipt data to understand the changes of warehouse receipts in each warehouse/factory warehouse
141fut_settleDaily Settlement ParametersFutures DataObtain daily settlement parameter data, including transaction and delivery fees, etc.
155index_dailyNanhua Futures Index Market DataFutures DataObtain daily market data of Nanhua indices, which can also be obtained through the General Market Interface.
189fut_mappingLeading and Continuous Futures ContractsFutures DataObtain mapping data between leading (or continuous) futures contracts and monthly contracts
313ft_minsHistorical Minute Market Data for FuturesFutures DataObtain minute data of all market futures contracts, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods. If you need minute data of leading contracts, please first obtain the corresponding contract code through the leading mapping interface before extracting the minute data.
337fut_weekly_monthlyWeekly/Monthly K-line Market Data for Futures (Updated Daily)Futures DataWeekly/Monthly K-line market data of futures (updated daily)
391hk_cashflowCash Flow Statement of Hong Kong StocksHong Kong Stock DataObtain cash flow statement data of Hong Kong listed companies
390hk_balancesheetBalance Sheet of Hong Kong StocksHong Kong Stock DataObtain balance sheet data of Hong Kong listed companies
389hk_incomeIncome Statement of Hong Kong StocksHong Kong Stock DataObtain income statement data of Hong Kong listed companies
388hk_fina_indicatorFinancial Indicator Data of Hong Kong StocksHong Kong Stock DataObtain financial indicator data of Hong Kong listed companies. To avoid server pressure, a single request can return a maximum of 200 records at this stage. You can obtain more data by setting dates and making multiple requests.
401hk_adjfactorAdjustment Factor of Hong Kong StocksHong Kong Stock DataObtain daily adjustment factor data of Hong Kong stocks, updated daily in a rolling manner
339hk_daily_adjAdjusted Market Data of Hong Kong StocksHong Kong Stock DataObtain adjusted market data of Hong Kong stocks, providing multiple data indicators such as stock capitalization, market value, transaction volume and turnover rate
383rt_hk_kReal-time Daily K-line Market Data of Hong Kong StocksHong Kong Stock DataObtain real-time daily K-line market data of Hong Kong stocks, supporting one-time extraction of all real-time daily K-line market data of stocks by stock code or stock code wildcard
191hk_basicBasic Information of Hong Kong StocksHong Kong Stock DataObtain list information of Hong Kong stocks
192hk_dailyDaily K-line Market Data of Hong Kong StocksHong Kong Stock DataObtain daily incremental and historical market data of Hong Kong stocks, updated around 18:00 every day
304hk_minsMinute Market Data of Hong Kong StocksHong Kong Stock DataMinute data of Hong Kong stocks, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods
250hk_tradecalTrading Calendar of Hong Kong StocksHong Kong Stock DataObtain trading calendar data
285sge_dailyDaily Spot Market Data of Shanghai Gold ExchangeSpot DataObtain daily K-line market data of spot contracts of Shanghai Gold Exchange
284sge_basicBasic Information of Shanghai Gold Exchange SpotSpot DataObtain basic information of spot contracts of Shanghai Gold Exchange
393us_fina_indicatorFinancial Indicator Data of US StocksUS Stock DataObtain financial indicator data of US listed companies, currently only covering major US stocks and Chinese concept stocks. To avoid server pressure, a single request can return a maximum of 200 records at this stage. You can obtain more data by setting dates and making multiple requests.
402us_adjfactorAdjustment Factor of US StocksUS Stock DataObtain daily adjustment factor data of US stocks, updated in a rolling manner after the US stock market closes every day
396us_cashflowCash Flow Statement of US StocksUS Stock DataObtain cash flow statement data of US listed companies (currently only covering major US stocks and Chinese concept stocks)
395us_balancesheetBalance Sheet of US StocksUS Stock DataObtain balance sheet data of US listed companies (currently only covering major US stocks and Chinese concept stocks)
394us_incomeIncome Statement of US StocksUS Stock DataObtain income statement data of US listed companies (currently only covering major US stocks and Chinese concept stocks)
254us_dailyDaily K-line Market Data of US StocksUS Stock DataObtain market data of US stocks (unadjusted), including full historical market data of all stocks, as well as important market and valuation indicators
253us_tradecalTrading Calendar of US StocksUS Stock DataObtain trading calendar information of US stocks
252us_basicBasic Information of US StocksUS Stock DataObtain list information of US stocks
338us_daily_adjAdjusted Market Data of US StocksUS Stock DataObtain adjusted market data of US stocks, supporting all US market stocks, providing multiple data indicators such as capitalization, market value, adjustment factor and transaction information
326margin_secsMargin Trading and Short Selling Targets (Pre-market)Stock Data, Margin Trading and Securities LendingObtain margin trading and short selling targets (including ETFs) from Shanghai, Shenzhen and Beijing Stock Exchanges, updated pre-market every day
331slb_lenSummary of Securities Lending TransactionsStock Data, Margin Trading and Securities LendingSummary of securities lending transactions
332slb_secSummary of Securities Borrowing Transactions (Suspended)Stock Data, Margin Trading and Securities LendingSummary of securities borrowing transactions
333slb_sec_detailDetails of Securities Borrowing Transactions (Suspended)Stock Data, Margin Trading and Securities LendingDetails of securities borrowing transactions
59margin_detailDetails of Margin Trading and Short Selling TransactionsStock Data, Margin Trading and Securities LendingObtain daily details of margin trading and short selling in Shanghai and Shenzhen Stock Exchanges
58marginSummary of Margin Trading and Short Selling TransactionsStock Data, Margin Trading and Securities LendingObtain daily summary data of margin trading and short selling transactions
334slb_len_mmSummary of Market-making Securities Borrowing Transactions (Suspended)Stock Data, Margin Trading and Securities LendingSummary of market-making securities borrowing transactions
124repurchaseStock RepurchaseStock Data, Reference DataObtain stock repurchase data of listed companies
110pledge_statStock Pledge StatisticsStock Data, Reference DataObtain stock pledge statistics data
160share_floatRestricted Share UnlockingStock Data, Reference DataObtain restricted share unlocking data
161block_tradeBlock TradingStock Data, Reference DataBlock trading
164stk_accountStock Account Opening Data (Suspended)Stock Data, Reference DataObtain stock account opening data, with a statistical cycle of one week
165stk_account_oldStock Account Opening Data (Old Version)Stock Data, Reference DataObtain old format stock account opening data, data starts from January 2008 to May 29, 2015. For new data, please obtain it through the Stock Account Opening Data interface.
166stk_holdernumberNumber of ShareholdersStock Data, Reference DataObtain the number of shareholders of listed companies, data is announced irregularly
175stk_holdertradeShareholder Increase/DecreaseStock Data, Reference DataObtain share increase/decrease data of important shareholders of listed companies, to understand the changes in share holdings of important shareholders in recent and historical periods
61top10_holdersTop 10 ShareholdersStock Data, Reference DataObtain data of the top 10 shareholders of listed companies, including information such as holding quantity and proportion
111pledge_detailDetails of Stock PledgeStock Data, Reference DataObtain detailed data of stock pledge
62top10_floatholdersTop 10 Tradable ShareholdersStock Data, Reference DataObtain data of the top 10 tradable shareholders of listed companies
423stST Risk Warning Board StocksStock Data, Basic DataList of ST risk warning board stocks
398stock_hsgtStock List of Shanghai-Shenzhen-Hong Kong Stock ConnectStock Data, Basic DataObtain the stock list of Shanghai-Shenzhen-Hong Kong Stock Connect
397stock_stST Stock ListStock Data, Basic DataObtain the list of ST stocks, which can obtain the historical daily ST list according to the trading date
375bse_mappingOld and New Code Mapping of Beijing Stock ExchangeStock Data, Basic DataObtain the old and new code mapping table data after the stock code change of Beijing Stock Exchange
329stk_premarketDaily Capitalization (Pre-market)Stock Data, Basic DataObtain the capitalization situation of stocks on the current day before the market opens, including total capitalization, tradable capitalization, price limits, etc.
123new_shareIPO New Stock ListingStock Data, Basic DataObtain the list data of IPO new stock listings
194stk_rewardsManagement Compensation and ShareholdingStock Data, Basic DataObtain management compensation and shareholding data of listed companies
193stk_managersManagement of Listed CompaniesStock Data, Basic DataObtain management data of listed companies
112stock_companyBasic Information of Listed CompaniesStock Data, Basic DataObtain basic information of listed companies, a single extraction can get 4500 records, you can extract in batches according to the exchange
100namechangeFormer Names of StocksStock Data, Basic DataHistorical name change records
26trade_calTrading CalendarStock Data, Basic DataObtain trading calendar data of major exchanges, default is Shanghai Stock Exchange
25stock_basicStock ListStock Data, Basic DataObtain basic information data, including stock code, name, listing date, delisting date, etc.
262bak_basicHistorical Stock ListStock Data, Basic DataObtain the backup basic list, data starts from 2016
382dc_dailyMarket Data of Dongfang Caifu Concept and Industry IndicesStock Data, Board Trading Topic DataObtain market data of Dongfang Caifu concept sectors, industry index sectors and regional sectors, historical data starts from 2020
321dc_hotDongfang Caifu App Hot ListStock Data, Board Trading Topic DataObtain hot list data of Dongfang Caifu App, including A-share market, ETF funds, Hong Kong stock market, US stock market, etc. Extracted 4 times during the trading day and 4 times after the market closes, with the latest extraction around 22:00.
298limit_list_dPrice Limit and Board-breaking DataStock Data, Board Trading Topic DataObtain daily price limit and board-breaking data of A-shares, data starts from 2020 (statistics of ST stocks are not provided)
311hm_listComplete List of Market Hot MoneyStock Data, Board Trading Topic DataObtain classification list information of hot money
347kpl_listList Data (KaiPanLa)Stock Data, Board Trading Topic DataObtain list data such as price limit, limit down and board-breaking from KaiPanLa
261ths_memberComponents of Tonghuashun Industry and Concept SectorsStock Data, Board Trading Topic DataObtain component list of Tonghuashun concept sectors. Note: Data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun actively.
260ths_dailyMarket Data of Tonghuashun Concept and Industry IndicesStock Data, Board Trading Topic DataObtain market data of Tonghuashun sector indices. Note: Data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun actively. For help, please contact WeChat: waditu_a
259ths_indexTonghuashun Industry and Concept SectorsStock Data, Board Trading Topic DataObtain Tonghuashun sector indices. Note: Data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun actively. For help, please contact WeChat: waditu_a
107top_instInstitutional Trading Orders on Dragon and Tiger ListStock Data, Board Trading Topic DataInstitutional transaction details on Dragon and Tiger List
351kpl_concept_consConcept Components (KaiPanLa)Stock Data, Board Trading Topic DataObtain component stocks of concept themes from KaiPanLa
355limit_list_thsTonghuashun Price Limit ListStock Data, Board Trading Topic DataObtain daily price limit list data from Tonghuashun, historical data starts from 20231101, incremental updates are done around 16:00 every day
356limit_stepContinuous Price Limit Ladder of StocksStock Data, Board Trading Topic DataObtain stocks that advance in continuous price limits every day, which can analyze the number of continuous price limit advances every day and judge the strong market sentiment
357limit_cpt_listStatistics of the Strongest Price Limit SectorsStock Data, Board Trading Topic DataObtain the concept sectors with the most price limit stocks every day, which can analyze the rotation of strong sectors and judge capital movement
362dc_indexDongfang Caifu Concept SectorsStock Data, Board Trading Topic DataObtain concept sector data of Dongfang Caifu for each trading day, supporting query by date
363dc_memberComponents of Dongfang Caifu Concept SectorsStock Data, Board Trading Topic DataObtain daily component data of Dongfang Caifu sectors, which can obtain historical components according to concept sector code and trading date
369stk_auctionOpening Auction Transactions (Current Day)Stock Data, Board Trading Topic DataObtain the opening auction transaction situation of individual stocks and ETFs on the current day, which can be obtained between 9:25~9:29 every day
376tdx_indexTongdaxin Sector InformationStock Data, Board Trading Topic DataObtain basic information of Tongdaxin sectors, including concept sectors, industries, styles, regions, etc.
106top_listDaily Statistical Orders on Dragon and Tiger ListStock Data, Board Trading Topic DataDaily transaction details on Dragon and Tiger List
377tdx_memberComponents of Tongdaxin SectorsStock Data, Board Trading Topic DataObtain component stock information of various Tongdaxin sectors
378tdx_dailyMarket Data of Tongdaxin SectorsStock Data, Board Trading Topic DataObtain market data of various Tongdaxin sectors, including transaction and valuation data
312hm_detailDaily Details of Hot Money TransactionsStock Data, Board Trading Topic DataObtain daily details of hot money transactions, data starts from August 2022. For the hot money classification list, please click <a href="https://tushare.pro/document/2?doc_id=311">Hot Money List</a>
320ths_hotTonghuashun App Hot List DataStock Data, Board Trading Topic DataObtain hot list data of Tonghuashun App, including hot stocks, concept sectors, ETFs, convertible bonds, Hong Kong and US stocks, etc. Extracted 4 times during the trading day and 4 times after the market closes, with the latest extraction around 22:00.
364stk_nineturnMagic Nine-turn IndicatorStock Data, Featured DataMagic Nine-turn (also known as "Nine-turn Sequence") is a stock trend reversal indicator based on technical analysis, whose idea comes from the TD Sequence of technical analysis master Tom DeMark. The core function of this indicator is to identify the potential reversal points of stock prices by recognizing the specific trend of stock prices for 9 consecutive days during the rise or fall process, thus helping investors improve the success rate of bottom-fishing and top-escape. The daily line level combined with the 60min nine-turn has a better effect, data starts from 20230101.
188hk_holdShareholding Details of Shanghai-Shenzhen Stock ConnectStock Data, Featured DataObtain shareholding details of Shanghai-Shenzhen Stock Connect, data source is Hong Kong Stock Exchange.
267broker_recommendBrokerage Monthly Top StocksStock Data, Featured DataObtain brokerage monthly top stocks, usually updated within 1~3 days of each month
274ccass_hold_detailShareholding Details of Central Clearing and Settlement SystemStock Data, Featured DataObtain shareholding details of institutional seats in the Central Clearing and Settlement System, data covers the entire history, and the current day's data is completed before 9:00 of the next trading day according to the disclosure time of the exchange
275stk_survInstitutional Research DataStock Data, Featured DataObtain institutional research record data of listed companies
292report_rcBrokerage Earnings Forecast DataStock Data, Featured DataObtain earnings forecast data from brokerage (sell-side) research reports every day, data starts from 2010, updated between 19~22:00 every night
293cyq_perfDaily Chip Cost and Win RateStock Data, Featured DataObtain the average chip cost and win rate situation of A-shares every day, updated around 18~19:00 every day, data starts from 2018
294cyq_chipsDaily Chip DistributionStock Data, Featured DataObtain the daily chip distribution situation of A-shares, providing the proportion of each price level, data starts from 2018, updated between 18~19:00 every day
295ccass_holdShareholding Statistics of Central Clearing and Settlement SystemStock Data, Featured DataObtain summary shareholding data of the Central Clearing and Settlement System, covering all historical data, and the current day's data is completed and stored before 9:00 of the next trading day according to the disclosure time of the exchange
353stk_auction_oOpening Auction Data of StocksStock Data, Featured DataOpening 9:30 auction data of stocks, updated after the market closes every day
354stk_auction_cClosing Auction Data of StocksStock Data, Featured DataClosing 15:00 auction data of stocks, updated after the market closes every day
399stk_ah_comparisonAH Stock Price ComparisonStock Data, Featured DataAH stock price comparison data, which can obtain historical data according to the trading date
328stk_factor_proTechnical Factors of Stocks (Professional Version)Stock Data, Featured DataObtain daily technical factor data of stocks for tracking the current trend of stocks. Data is produced by the Tushare community, covering the entire history; the output parameter _bfq indicates no adjustment, _qfq indicates forward adjustment, _hfq indicates backward adjustment. The default parameters of factors are explained in the description. If you need special parameters or more factors, you can contact the administrator for evaluation.
27dailyHistorical Daily K-lineStock Data, Market DataObtain stock market data, or obtain data through the General Market Interface, including forward and backward adjusted data
146pro_barAdjusted Market DataStock Data, Market Data
145monthlyMonthly K-line Market DataStock Data, Market DataObtain monthly K-line data of A-shares
374rt_minReal-time Minute Market Data for StocksStock Data, Market DataObtain real-time minute data of all A-shares, including 1~60min
372rt_kReal-time Daily K-line Market Data for StocksStock Data, Market DataObtain real-time daily K-line market data of stocks, supporting one-time extraction of all real-time daily K-line market data of stocks by stock code or stock code wildcard
370stk_minsHistorical Minute Market Data for StocksStock Data, Market DataObtain minute data of A-shares, supporting 1min/5min/15min/30min/60min market data, providing both Python SDK and HTTP Restful API methods
365stk_week_month_adjWeekly/Monthly Adjusted Market Data of Stocks (Updated Daily)Stock Data, Market DataWeekly/Monthly adjusted market data of stocks (updated daily)
336stk_weekly_monthlyWeekly/Monthly K-line Market Data of Stocks (Updated Daily)Stock Data, Market DataWeekly/Monthly K-line market data of stocks (updated daily)
255bak_dailyBackup Market DataStock Data, Market DataObtain backup market data, including specific market indicators (data starts from around mid-2017, with a few days of data missing in the early stage, and normal in recent periods)
144weeklyWeekly K-line Market DataStock Data, Market DataObtain weekly K-line market data of A-shares, this interface is updated on the last trading day of each week. If you need weekly K-line data updated every day, please use the Weekly K-line Market Data Interface Updated Daily.
214suspend_dDaily Suspension and Resumption InformationStock Data, Market DataObtain daily suspension and resumption information of stocks by date
196ggt_dailyDaily Transaction Statistics of Hong Kong Stock ConnectStock Data, Market DataObtain daily transaction information of Hong Kong Stock Connect, data starts from 2014
183stk_limitDaily Price Limit of StocksStock Data, Market DataObtain daily price limit data of the entire market (including A/B shares and funds), including price limit up, price limit down, etc., updated around 8:40 every trading day for the current day's stock price limits.
109pro_barGeneral Market InterfaceStock Data, Market Data
49ggt_top10Top 10 Traded Stocks of Hong Kong Stock ConnectStock Data, Market DataObtain daily transaction data of Hong Kong Stock Connect, including detailed data of Shanghai and Shenzhen markets, updated between 18~20:00 every day
48hsgt_top10Top 10 Traded Stocks of Shanghai-Shenzhen Stock ConnectStock Data, Market DataObtain detailed daily transaction data of the top 10 traded stocks of Shanghai Stock Connect and Shenzhen Stock Connect, updated between 18~20:00 every day
32daily_basicDaily IndicatorsStock Data, Market DataObtain important daily fundamental indicators of all stocks, which can be used for stock selection analysis, report display, etc. A single request can return a maximum of 6000 records, and you can extract all historical data by looping through daily lines.
28adj_factorAdjustment FactorStock Data, Market DataThis interface is produced by Tushare itself, obtaining stock adjustment factors, which can extract all historical adjustment factors of a single stock or the adjustment factors of all stocks on a single day.
197ggt_monthlyMonthly Transaction Statistics of Hong Kong Stock ConnectStock Data, Market DataMonthly transaction information of Hong Kong Stock Connect, data starts from 2014
33incomeIncome StatementStock Data, Financial DataObtain income statement data of listed companies
44cashflowCash Flow StatementStock Data, Financial DataObtain cash flow statement data of listed companies
36balancesheetBalance SheetStock Data, Financial DataObtain balance sheet data of listed companies
46expressPerformance ExpressStock Data, Financial DataObtain performance express data of listed companies
79fina_indicatorFinancial Indicator DataStock Data, Financial DataObtain financial indicator data of listed companies. To avoid server pressure, a single request can return a maximum of 100 records at this stage. You can obtain more data by setting dates and making multiple requests.
81fina_mainbzMain Business CompositionStock Data, Financial DataObtain the main business composition of listed companies, in two ways: by region and by product
103dividendDividend and Bonus Issue DataStock Data, Financial DataDividend and bonus issue data
162disclosure_dateFinancial Report Disclosure Date ScheduleStock Data, Financial DataObtain the planned disclosure date of financial reports
45forecastPerformance ForecastStock Data, Financial DataObtain performance forecast data
80fina_auditFinancial Audit OpinionsStock Data, Financial DataObtain regular financial audit opinion data of listed companies
47moneyflow_hsgtCapital Flow of Shanghai-Shenzhen-Hong Kong Stock ConnectStock Data, Capital Flow DataObtain daily capital flow data of Shanghai Stock Connect, Shenzhen Stock Connect and Hong Kong Stock Connect, a single request can return a maximum of 300 records, with no limit on the total amount.
170moneyflowCapital Flow of Individual StocksStock Data, Capital Flow DataObtain capital flow data of Shanghai and Shenzhen A-shares, analyzing the transaction situation of large and small orders, used to judge capital movement, data starts from 2010.
343moneyflow_ind_thsCapital Flow of Industries (THS)Stock Data, Capital Flow DataObtain capital flow of Tonghuashun industries, updated after the market closes every day
344moneyflow_ind_dcCapital Flow of Sectors (DC)Stock Data, Capital Flow DataObtain capital flow of Dongfang Caifu sectors, updated after the market closes every day
345moneyflow_mkt_dcCapital Flow of Market (DC)Stock Data, Capital Flow DataObtain capital flow data of Dongfang Caifu market, updated after the market closes every day
348moneyflow_thsCapital Flow of Individual Stocks (THS)Stock Data, Capital Flow DataObtain capital flow data of individual stocks from Tonghuashun, updated after the market closes every day
349moneyflow_dcCapital Flow of Individual Stocks (DC)Stock Data, Capital Flow DataObtain capital flow data of individual stocks from Dongfang Caifu, updated after the market closes every day, data starts from 20230911
371moneyflow_cnt_thsCapital Flow of Concept Sectors (THS)Stock Data, Capital Flow DataObtain daily capital flow of Tonghuashun concept sectors
156film_recordNational Film Script Filing DataIndustry Economy, TMT IndustryObtain public filing data of national film scripts
180teleplay_recordNational TV Drama Filing and Publicity DataIndustry Economy, TMT IndustryObtain filing and publicity data of national TV drama production since 2009
87tmt_twincomedetailMonthly Revenue Details of Taiwan Electronic IndustryIndustry Economy, TMT IndustryObtain monthly revenue situation of various products of listed companies in Taiwan's TMT industry.
88tmt_twincomeMonthly Revenue of Taiwan Electronic IndustryIndustry Economy, TMT IndustryObtain monthly revenue data of various products in Taiwan's TMT electronic industry.
113bo_monthlyMonthly Box Office of MoviesIndustry Economy, TMT IndustryObtain monthly box office data of movies
115bo_dailyDaily Box Office of MoviesIndustry Economy, TMT IndustryObtain daily box office data of movies
116bo_cinemaDaily Box Office of CinemasIndustry Economy, TMT IndustryObtain daily box office data of various cinemas
114bo_weeklyWeekly Box Office of MoviesIndustry Economy, TMT IndustryObtain weekly box office data of movies
265fund_sales_ratioProportion of Public Fund Sales Scale by ChannelWealth Management, Fund Sales Industry DataObtain the proportion of public fund sales scale by channel, updated annually
266fund_sales_volPublic Fund Sales Scale of Sales InstitutionsWealth Management, Fund Sales Industry DataObtain the public fund sales scale of sales institutions, this data has been published since Q1 2021, updated quarterly