Overview
tushare is a financial data API package with rich data content, such as market data for stocks, funds, futures, digital currencies, etc., and fundamental data such as company financials and fund managers. This module unifies the external service mode of data assets through standardized APIs, helping technical users who need it use the relevant data in a more real-time, concise, and lightweight way.
Quick Start
- Install a Python runtime environment (Python 3.7+ is recommended), and install the tushare dependency package (installing from the Tsinghua PyPI mirror is recommended).
pip install tushare -i https://pypi.tuna.tsinghua.edu.cn/simple
- Register on the Tushare official website, obtain a token, and configure the environment variable. Registration address
export TUSHARE_TOKEN=your_token
- Check the Tushare API documentation and find the corresponding API. Online data API documentation
- According to the API documentation, use Python code to obtain data. (e.g.,stock listAPI)
import os
import tushare as ts
# 读取环境变量中的token, 或者读取本地记录的token
token = os.getenv('TUSHARE_TOKEN') or ts.get_token()
# 初始化pro接口实例
pro = ts.pro_api(token)
# 查询数据接口(*股票列表*),获取上市交易的股票列表
df = pro.stock_basic(list_status='L', fields='ts_code,symbol,name,area,industry,list_date')
print(df)
Parameter Format Description
- Date: YYYYMMDD (e.g., 20241231)
- Stock code: ts_code format (e.g., 000001.SZ, 600000.SH)
- Return format: pandas DataFrame
Link convention: all links in this document pointing to
references/are written in the form of relative to this document (e.g.,references/...), which is the form GitHub parses when opening the file in a browser.read_fileThe tool will resolve the same string to the skill directory that owns it, so humans and agents read the same file. When adding skill documentation, be sure to continue using the relative form, and ensure that references paths do not have duplicate names across skills: a path owned by two skills at the same time will be reported as ambiguous, and will not be guessed.
Python Script Examples
Data API List
| ID | API name | Title (detailed documentation) | Category | Description |
|---|---|---|---|---|
| 416 | rt_min | ETF real-time minutes | ETF Topic | Obtain ETF real-time minute data, including 1~60min |
| 400 | rt_etf_k | ETF real-time daily line | ETF Topic | Obtain ETF real-time daily K-line quotes, supporting one-time extraction of all ETF real-time daily K-line quotes by ETF code or code wildcard |
| 387 | stk_mins | ETF historical minutes | ETF Topic | Obtain ETF minute data, supporting 1min/5min/15min/30min/60min quotes, providing two methods: Python SDK and http Restful API |
| 386 | etf_index | ETF benchmark index | ETF Topic | Obtain the ETF benchmark index list information |
| 385 | etf_basic | ETF basic information | ETF Topic | Obtain basic information on domestic ETFs, including QDII. Data source: public disclosure information from the Shanghai and Shenzhen Stock Exchanges. |
| 199 | fund_adj | ETF adjustment factor | ETF Topic | Obtain the fund adjustment factor, used to calculate fund adjusted quotes |
| 127 | fund_daily | ETF daily line quotes | ETF Topic | Obtain daily closing transaction data for ETF market conditions, with a history of more than 10 years |
| 408 | etf_share_size | ETF share scale | ETF Topic | Obtain daily share and scale data for Shanghai and Shenzhen ETFs, which can reflect changes in scale and shares and help track ETF fund movements, while also providing daily net value and closing price; data indicators are entered into the database in batches, so it is recommended to extract after 19:00 each day; in addition, overseas-related ETF data updates will be somewhat later, which is normal. |
| 322 | bc_otcqt | Over-the-counter tradable bond quotes | Bond Topic | Over-the-counter tradable bond quotes |
| 305 | cb_rate | Convertible bond coupon rate | Bond Topic | Obtain convertible bond coupon rate |
| 272 | bond_blk_detail | Block trade details | Bond Topic | Obtain bond block trade data from the Shanghai and Shenzhen Stock Exchanges, which can be accessed throughData Toolsto debug and view data. |
| 271 | bond_blk | Block trade | Bond Topic | Obtain bond block trade data from the Shanghai and Shenzhen Stock Exchanges, which can be accessed throughData Toolsto debug and view data. |
| 269 | cb_call | Convertible bond redemption information | Bond Topic | Obtain information such as convertible bond maturity redemption and mandatory redemption. The data comes from publicly disclosed channels and is for personal and institutional research use. Please do not use it for commercial data purposes. |
| 256 | repo_daily | Bond repo daily quotes | Bond Topic | Bond repo daily quotes |
| 323 | bc_bestotcqt | Best quotes for over-the-counter tradable bonds | Bond Topic | Best quotes for over-the-counter tradable bonds |
| 392 | cb_factor_pro | Convertible bond technical factors (Professional Edition) | Bond Topic | Obtain daily technical factor data for convertible bonds to track the current trend of convertible bonds. The data is self-produced by the Tushare community and covers the full history; the output parameter _bfq indicates unadjusted, _qfq indicates forward-adjusted, and _hfq indicates backward-adjusted. The description states the default parameters for the factors. If special parameters or more factors are needed, you can contact the administrator for evaluation. |
| 246 | cb_price_chg | Convertible bond conversion price changes | Bond Topic | Obtain convertible bond conversion price changes |
| 233 | eco_cal | Global financial events | Bond Topic | Obtain global financial calendar, including economic event data updates |
| 201 | yc_cb | Treasury bond yield curve | Bond Topic | Obtain ChinaBond yield curves. Currently, ChinaBond government bond spot and yield-to-maturity curve data can be obtained |
| 187 | cb_daily | Convertible bond quotes | Bond Topic | Obtain convertible bond quotes |
| 186 | cb_issue | Convertible bond issuance | Bond Topic | Obtain convertible bond issuance data |
| 185 | cb_basic | Convertible bond basic information | Bond Topic | Obtain convertible bond basic information |
| 247 | cb_share | Convertible bond conversion results | Bond Topic | Obtain convertible bond conversion results |
| 208 | fund_manager | Fund manager | Public funds | Obtain public fund manager data, including fund manager resumes and other data |
| 207 | fund_share | Fund scale | Public Funds | Retrieve fund scale data, including Shanghai and Shenzhen ETF funds |
| 121 | fund_portfolio | Fund Holdings | Public Funds | Retrieve public fund holdings data, updated quarterly |
| 120 | fund_div | Fund Dividends | Public Funds | Retrieve public fund dividend data |
| 119 | fund_nav | Fund Net Value | Public Funds | Retrieve public fund net value data |
| 118 | fund_company | Fund Managers | Public Funds | Retrieve the list of public fund managers |
| 19 | fund_basic | Fund List | Public Funds | Retrieve the list of public fund data, including exchange-traded and off-exchange funds |
| 359 | fund_factor_pro | Fund Technical Factors (Professional Edition) | Public Funds | Retrieve daily technical factor data for exchange-traded funds, used to track the current trend of exchange-traded funds. The data is self-produced by the Tushare community and covers the full history; the output parameter _bfq indicates non-adjusted prices. The description explains the default parameters of the factors. If special parameters or more factors are needed, you can contact the administrator for evaluation. |
| 178 | fx_obasic | Forex Basic Information (Overseas) | Forex Data | Retrieve basic information on overseas forex, currently only data from the FXCM broker |
| 179 | fx_daily | Forex Daily Quotes | Forex Data | Retrieve forex daily quotes |
| 415 | research_report | Brokerage Research Reports | Large Model Corpus Thematic Data | Retrieve brokerage research reports - individual stocks, industries, etc. Historical data is available starting from 20170101, with incremental updates twice a day |
| 143 | news | News Flash (Brief News) | Large Model Corpus Thematic Data | Retrieve news flash data from mainstream news websites, providing over 6 years of historical news. |
| 154 | cctv_news | Xinwen Lianbo Transcripts | Large Model Corpus Thematic Data | Retrieve Xinwen Lianbo transcript data, with data starting from 2017. |
| 176 | anns_d | Listed Company Announcements | Large Model Corpus Thematic Data | Retrieve full announcement data, providing PDF download URLs |
| 367 | irm_qa_sz | Shenzhen Easy Interactive Q&A | Large Model Corpus Thematic Data | |
| 366 | irm_qa_sh | Shanghai Stock Exchange e-Interactive Q&A | Large Model Corpus Thematic Data | |
| 195 | major_news | Newsletters (Long-form) | Large Model Corpus Thematic Data | Retrieve long-form newsletter information, covering major news and information websites, providing over 8 years of historical news. |
| 406 | npr | National Policy Database | Large Model Corpus Thematic Data | Retrieve textual data such as various regulations, regulatory policies, approvals, notices, etc. publicly disclosed by national administrative organs. |
| 245 | cn_ppi | Industrial Producer Price Index (PPI) | Macroeconomics,Domestic Macroeconomics,Price Index | Retrieve PPI Industrial Producer Price Index data |
| 228 | cn_cpi | Consumer Price Index (CPI) | Macroeconomics,Domestic Macroeconomics,Price Index | Retrieve CPI consumer price data, including national, urban, and rural data |
| 149 | shibor | Shibor Rates | Macroeconomics,Domestic Macroeconomics,Interest Rate Data | shibor rates |
| 151 | shibor_lpr | LPR Loan Prime Rate | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | LPR Loan Prime Rate |
| 152 | libor | Libor Interest Rate | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | Libor Interbank Offered Rate |
| 150 | shibor_quote | Shibor Quote Data | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | Shibor Quote Data |
| 173 | wz_index | Wenzhou Private Lending Interest Rate | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | Wenzhou Private Lending Interest Rate, i.e. Wenzhou Index |
| 153 | hibor | Hibor Interest Rate | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | Hibor Interest Rate |
| 174 | gz_index | Guangzhou Private Lending Interest Rate | Macroeconomics, Domestic Macroeconomics, Interest Rate Data | Guangzhou Private Lending Interest Rate |
| 227 | cn_gdp | Gross Domestic Product (GDP) | Macroeconomics, Domestic Macroeconomics, National Economy | Obtain GDP data of the national economy |
| 325 | cn_pmi | Purchasing Managers' Index (PMI) | Macroeconomics, Domestic Macroeconomics, Prosperity | Purchasing Managers' Index |
| 310 | sf_month | Aggregate Financing Increment (Monthly) | Macroeconomics, Domestic Macroeconomics, Finance, Social Financing | Obtain monthly social financing data |
| 242 | cn_m | Money Supply (Monthly) | Macroeconomics, Domestic Macroeconomics, Finance, Money Supply | Obtain monthly money supply data |
| 221 | us_tbr | Short-Term Treasury Interest Rate | Macroeconomics, International Macroeconomics, U.S. Interest Rates | Obtain U.S. short-term treasury interest rate data |
| 220 | us_trycr | Treasury Real Yield Curve Interest Rate | Macroeconomics, International Macroeconomics, U.S. Interest Rates | Treasury Real Yield Curve Interest Rate |
| 222 | us_tltr | Treasury Long-Term Interest Rate | Macroeconomics, International Macroeconomics, U.S. Interest Rates | Treasury Long-Term Interest Rate |
| 223 | us_trltr | Average Long-Term Treasury Interest Rate | Macroeconomics, International Macroeconomics, U.S. Interest Rates | Average Real Long-Term Treasury Interest Rate |
| 219 | us_tycr | Treasury Yield Curve Interest Rate | Macroeconomics, International Macroeconomics, U.S. Interest Rates | Obtain U.S. daily treasury yield curve interest rate |
| 420 | rt_idx_min | Index Real-Time Minutes | Index Topic | Obtain exchange index real-time minute data, including 1~60min |
| 419 | idx_mins | Index Historical Minutes | Index Topic | Obtain exchange index minute data, supporting 1min/5min/15min/30min/60min quotes, providing both Python SDK and http Restful API |
| 215 | daily_info | Shanghai and Shenzhen Market Daily Trading Statistics | Index Topic | Obtain exchange stock trading statistics, including details of each sector |
| 211 | index_global | Major International Indices | Index Topic | Obtain daily quotes of major international indices |
| 181 | index_classify | Shenwan Industry Classification | Index Topic | Obtain the Shenwan industry classification. You can obtain the list information for the Shenwan 2014 version (28 level-1 classifications, 104 level-2 classifications, 227 level-3 classifications) and the 2021 version (31 level-1 classifications, 134 level-2 classifications, 346 level-3 classifications). |
| 268 | sz_daily_info | Daily trading situation of the Shenzhen market | Index Special Topic | Obtain the daily trading overview of the Shenzhen market |
| 128 | index_dailybasic | Daily indicators of broad market indices | Index Special Topic | Currently only provides daily indicator data for the Shanghai Composite Index, Shenzhen Component Index, SSE 50, CSI 500, SME Board Index, and ChiNext Index |
| 403 | rt_idx_k | Real-time daily index lines | Index Special Topic | Obtain real-time daily index quotes from exchanges, supporting the extraction of all exchange index real-time daily K-line quotes at once by code or code wildcard |
| 96 | index_weight | Index constituents and weights | Index Special Topic | Obtain various index constituents and weights,monthly data . It is recommended to enter the first day and last day of the current month as the start date and end date in the input parameters respectively. |
| 373 | ci_index_member | CITIC industry constituents | Index Special Topic | Extract CITIC industry constituents by level-3 classification. It can provide all constituents of a certain classification, and can also extract the classification to which a stock code belongs. Parameters are flexible. |
| 358 | idx_factor_pro | Index technical factor (Professional Edition) | Index Special Topic | Obtain daily technical factor data for indices, used to track the current trend of indices. The data is self-produced by the Tushare community and covers the full history; the output parameter _bfq indicates no adjustment. The description explains the default parameter passing for the factors. If special parameters or more factors are needed, you can contact the administrator for evaluation. Indices include broad market indices, Shenwan industry indices, and CITIC indices. |
| 335 | index_member_all | Shenwan industry constituents (graded) | Index Special Topic | Extract Shenwan industry constituents by level-3 classification. It can provide all constituents of a certain classification, and can also extract the classification to which a stock code belongs. Parameters are flexible. |
| 417 | rt_sw_k | Shenwan real-time quotes | Index Special Topic | Obtain the latest cross-sectional data of Shenwan industry indices |
| 172 | index_monthly | Index monthly line quotes | Index Special Topic | Obtain index monthly line quotes, updated once a month |
| 308 | ci_daily | CITIC industry index daily quotes | Index Special Topic | Obtain CITIC industry index daily line quotes |
| 171 | index_weekly | Index weekly line quotes | Index Special Topic | Obtain index weekly line quotes |
| 327 | sw_daily | Shenwan industry index daily quotes | Index Special Topic | Obtain Shenwan industry daily line quotes (the default is Shenwan 2021 version quotes) |
| 95 | index_daily | Index daily line quotes | Index Special Topic | Obtain daily index quotes, which can also be obtained through the bar interface. Due to server pressure, the current rule is that a single call can retrieve at most 8000 rows of records, and the start and end dates can be set to complete it. Index quotes can also be obtained throughgeneral quote interfaceObtain data. |
| 94 | index_basic | Index basic information | Index Special Topic | Obtain basic index information. |
| 341 | opt_mins | Option minute quotes | Option Data | Get minute data for option contracts across the entire market, supporting 1min/5min/15min/30min/60min quotes, and providing two methods: Python SDK and HTTP Restful API. |
| 159 | opt_daily | Option Daily Quotes | Option Data | Get option daily quotes |
| 158 | opt_basic | Option Contract Information | Option Data | Get option contract information |
| 216 | fut_weekly_detail | Weekly Trading Report for Major Futures Varieties | Futures Data | Get weekly trading statistics for major varieties on futures exchanges, with data starting from March 2010 |
| 368 | ft_limit | Futures Contract Price Limits | Futures Data | Get the daily price limit prices and minimum margin rates for all futures contracts, with data starting from 2005. |
| 340 | rt_fut_min | Real-time Minute Quotes | Futures Data | Get real-time minute data for futures contracts across the entire market, supporting 1min/5min/15min/30min/60min quotes, and providing three methods: Python SDK, HTTP Restful API, and websocket. If you need minutes for the main contract, please first use the mainmappinginterface to obtain the corresponding contract code and then extract the minutes. |
| 135 | fut_basic | Contract Information | Futures Data | Get futures contract list data |
| 137 | trade_cal | Trading Calendar | Futures Data | Get trading calendar data for major futures exchanges |
| 138 | fut_daily | Daily Quotes | Futures Data | Futures daily quote data |
| 139 | fut_holding | Daily Position Ranking | Futures Data | Get daily trading position ranking data |
| 140 | fut_wsr | Daily Warehouse Receipt Report | Futures Data | Get daily warehouse receipt report data to understand warehouse receipt changes at each warehouse/factory warehouse |
| 141 | fut_settle | Daily Settlement Parameters | Futures Data | Get daily settlement parameter data, including trading and delivery fee rates, etc. |
| 155 | index_daily | Nanhua Futures Index Quotes | Futures Data | Get daily quotes for the Nanhua Index. Index quotes can also be obtained throughGeneral Quote Interfaceto obtain data. |
| 189 | fut_mapping | Futures Main and Continuous Contracts | Futures Data | Get mapping data between futures main (or continuous) contracts and monthly contracts |
| 313 | ft_mins | Historical Minute Quotes | Futures Data | Get minute data for futures contracts across the entire market, supporting 1min/5min/15min/30min/60min quotes, and providing two methods: Python SDK and HTTP Restful API. If you need minutes for the main contract, please first use the mainmappinginterface to obtain the corresponding contract code and then extract the minutes. |
| 337 | fut_weekly_monthly | Futures Weekly and Monthly Quotes (Daily Update) | Futures Data | Futures weekly/monthly quotes (daily update) |
| 391 | hk_cashflow | Hong Kong Stock Cash Flow Statement | Hong Kong Stock Data | Get cash flow statement data for Hong Kong-listed companies |
| 390 | hk_balancesheet | Hong Kong Stock Balance Sheet | Hong Kong Stock Data | Get balance sheets for Hong Kong-listed companies |
| 389 | hk_income | Hong Kong Stock Income Statement | Hong Kong Stock Data | Get financial income statement data of Hong Kong-listed companies |
| 388 | hk_fina_indicator | Hong Kong stock financial indicator data | Hong Kong stock data | Get financial indicator data of Hong Kong-listed companies. To avoid server pressure, at this stage a maximum of 200 records is returned per request. More data can be obtained by making multiple requests with different date settings. |
| 401 | hk_adjfactor | Hong Kong stock adjustment factor | Hong Kong stock data | Get daily adjustment factor data for Hong Kong stocks, refreshed on a rolling basis every day |
| 339 | hk_daily_adj | Hong Kong stock adjusted quotes | Hong Kong stock data | Get adjusted quotes for Hong Kong stocks, providing multiple data indicators including share capital, market value, trading volume and turnover rate |
| 383 | rt_hk_k | Hong Kong stock real-time daily line | Hong Kong stock data | Get real-time daily k-line quotes for Hong Kong stocks, supporting the one-time extraction of real-time daily k-line quotes for all stocks by stock code and stock code wildcard |
| 191 | hk_basic | Hong Kong stock basic information | Hong Kong stock data | Get Hong Kong stock list information |
| 192 | hk_daily | Hong Kong stock daily line quotes | Hong Kong stock data | Get daily incremental and historical quotes for Hong Kong stocks, with the current day's data updated around 18:00 every day |
| 304 | hk_mins | Hong Kong stock minute quotes | Hong Kong stock data | Hong Kong stock minute data, supporting 1min/5min/15min/30min/60min quotes, provided in two ways: Python SDK and http Restful API |
| 250 | hk_tradecal | Hong Kong stock trading calendar | Hong Kong stock data | Get trading calendar |
| 285 | sge_daily | Shanghai Gold spot daily quotes | Spot data | Get daily line quotes for spot contracts of the Shanghai Gold Exchange |
| 284 | sge_basic | Shanghai Gold basic information | Spot data | Get basic information on spot contracts of the Shanghai Gold Exchange |
| 393 | us_fina_indicator | US stock financial indicator data | US stock data | Get financial indicator data of US-listed companies, currently covering only major US stocks and China concept stocks. To avoid server pressure, at this stage a maximum of 200 records is returned per request. More data can be obtained by making multiple requests with different date settings. |
| 402 | us_adjfactor | US stock adjustment factor | US stock data | Get daily adjustment factor data for US stocks, refreshed on a rolling basis after the US stock market closes every day |
| 396 | us_cashflow | US stock cash flow statement | US stock data | Get cash flow statement data of US-listed companies (currently covering only major US stocks and China concept stocks) |
| 395 | us_balancesheet | US stock balance sheet | US stock data | Get balance sheets of US-listed companies (currently covering only major US stocks and China concept stocks) |
| 394 | us_income | US stock income statement | US stock data | Get financial income statement data of US-listed companies (currently covering only major US stocks and China concept stocks) |
| 254 | us_daily | US stock daily line quotes | US stock data | Get US stock quotes (unadjusted), including the full historical quotes of all stocks, as well as important market and valuation indicators |
| 253 | us_tradecal | US stock trading calendar | US stock data | Get US stock trading calendar information |
| 252 | us_basic | US stock basic information | US stock data | Get US stock list information |
| 338 | us_daily_adj | US stock adjusted quotes | US stock data | Get US stock adjusted quotes, supporting all US market stocks, providing multiple data indicators such as share capital, market value, adjustment factor, and trading information |
| 326 | margin_secs | Margin trading and securities lending underlying securities (pre-market) | Stock data, margin trading and securities lending and refinancing | Get the margin trading and securities lending underlying securities (including ETFs) of the Shanghai, Shenzhen, and Beijing exchanges, updated pre-market every day |
| 331 | slb_len | Refinancing transaction summary | Stock data, margin trading and securities lending and refinancing | Refinancing summary |
| 332 | slb_sec | Refinanced securities lending transaction summary (suspended) | Stock data, margin trading and securities lending and refinancing | Refinancing refinanced securities lending transaction summary |
| 333 | slb_sec_detail | Refinanced securities lending transaction details (suspended) | Stock data, margin trading and securities lending and refinancing | Refinanced securities lending transaction details |
| 59 | margin_detail | Margin trading and securities lending transaction details | Stock data, margin trading and securities lending and refinancing | Get daily margin trading and securities lending details of the Shanghai and Shenzhen markets |
| 58 | margin | Margin trading and securities lending transaction summary | Stock data, margin trading and securities lending and refinancing | Get daily margin trading and securities lending transaction summary data |
| 334 | slb_len_mm | Market-making securities lending transaction summary (suspended) | Stock data, margin trading and securities lending and refinancing | Market-making securities lending transaction summary |
| 124 | repurchase | Stock buyback | Stock data, reference data | Get listed company stock buyback data |
| 110 | pledge_stat | Equity pledge statistics | Stock data, reference data | Get stock pledge statistics |
| 160 | share_float | Lifting of restrictions on restricted shares | Stock data, reference data | Get lifting of restrictions on restricted shares |
| 161 | block_trade | Block trades | Stock data, reference data | Block trades |
| 164 | stk_account | Stock account opening data (suspended) | Stock data, reference data | Get stock account opening data, with a statistical period of one week |
| 165 | stk_account_old | Stock account opening data (old) | Stock data, reference data | Get stock account opening data in the old format, with data from January 2008 to May 29, 2015. For new data, please usestock account opening datato obtain. |
| 166 | stk_holdernumber | Number of shareholders | Stock data, reference data | Get the number of shareholders of listed companies, with data published irregularly |
| 175 | stk_holdertrade | Shareholder increases and decreases in holdings | Stock data, reference data | Get data on increases and decreases in holdings of listed companies, and understand recent and historical shareholding changes of important shareholders |
| 61 | top10_holders | Top ten shareholders | Stock data, reference data | Get data on the top ten shareholders of listed companies, including information such as holding quantity and proportion |
| 111 | pledge_detail | Equity pledge details | Stock data, reference data | Get stock pledge details |
| 62 | top10_floatholders | Top ten tradable shareholders | Stock data, reference data | Get data on the top ten tradable shareholders of listed companies |
| 423 | st | ST Risk Warning Board Stocks | Stock Data, Basic Data | ST Risk Warning Board Stock List |
| 398 | stock_hsgt | Shanghai-Hong Kong-Shenzhen Stock Connect Stock List | Stock Data, Basic Data | Get the Shanghai-Hong Kong-Shenzhen Stock Connect stock list |
| 397 | stock_st | ST Stock List | Stock Data, Basic Data | Get the ST stock list; can retrieve the historical ST list for each day based on the trading date |
| 375 | bse_mapping | Beijing Stock Exchange Old and New Code Mapping | Stock Data, Basic Data | Get the old and new code mapping data after Beijing Stock Exchange stock code changes |
| 329 | stk_premarket | Daily Share Capital (Pre-Market) | Stock Data, Basic Data | Get the day's stock share capital situation before market open every day, including total share capital and circulating share capital, limit-up and limit-down prices, etc. |
| 123 | new_share | IPO New Stock Listing | Stock Data, Basic Data | Get the new stock listing list data |
| 194 | stk_rewards | Management Compensation and Shareholding | Stock Data, Basic Data | Get listed company management compensation and shareholding |
| 193 | stk_managers | Listed Company Management | Stock Data, Basic Data | Get listed company management |
| 112 | stock_company | Listed Company Basic Information | Stock Data, Basic Data | Get listed company basic information, 4500 records per extraction, can be extracted in batches by exchange |
| 100 | namechange | Stock Former Names | Stock Data, Basic Data | Historical name change records |
| 26 | trade_cal | Trading Calendar | Stock Data, Basic Data | Get trading calendar data for major exchanges; the default extraction is from the Shanghai Stock Exchange |
| 25 | stock_basic | Stock List | Stock Data, Basic Data | Get basic information data, including stock code, name, listing date, delisting date, etc. |
| 262 | bak_basic | Stock Historical List | Stock Data, Basic Data | Get the backup basic list, data starts from 2016 |
| 382 | dc_daily | Eastmoney Concept and Industry Index Quotes | Stock Data, Limit-Up Special Topic Data | Get Eastmoney concept sector, industry index sector, and regional sector quote data; historical data starts from 2020 |
| 321 | dc_hot | Eastmoney App Hot List | Stock Data, Limit-Up Special Topic Data | Get Eastmoney App hot list data, including the A-share market, ETF funds, Hong Kong stock market, US stock market, etc.; extracted 4 times per day during trading, 4 times after market close, and once at the latest by 22:00. |
| 298 | limit_list_d | Limit-Up/Limit-Down and Failed Limit-Up Data | Stock Data, Limit-Up Special Topic Data | Get daily A-share limit-up, limit-down, and failed limit-up data; data starts from 2020 (statistics for ST stocks are not provided) |
| 311 | hm_list | Most Complete Directory of Market Hot Money | Stock Data, Limit-Up Special Topic Data | Get hot money classification directory information |
| 347 | kpl_list | Ranking List Data (KaiPanLa) | Stock Data, Limit-Up Special Topic Data | Get KaiPanLa limit-up, limit-down, failed limit-up, and other ranking list data |
| 261 | ths_member | Tonghuashun Industry Concept Constituents | Stock data, Daily limit-up strategy topic data | Get the constituent list of Tonghuashun concept sectors. Note: The data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun proactively. |
| 260 | ths_daily | Tonghuashun concept and industry index quotes | Stock data, Daily limit-up strategy topic data | Get Tonghuashun sector index quotes. Note: The data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun proactively. If you need help, please contact WeChat: waditu_a |
| 259 | ths_index | Tonghuashun industry concept sectors | Stock data, Daily limit-up strategy topic data | Get Tonghuashun sector indices. Note: The data copyright belongs to Tonghuashun. For commercial use, please contact Tonghuashun proactively. If you need help, please contact WeChat: waditu_a |
| 107 | top_inst | Dragon and Tiger List institutional trading orders | Stock data, Daily limit-up strategy topic data | Dragon and Tiger List institutional transaction details |
| 351 | kpl_concept_cons | Theme constituents (KaiPanLa) | Stock data, Daily limit-up strategy topic data | Get constituent stocks of KaiPanLa concept themes |
| 355 | limit_list_ths | Tonghuashun daily limit-up and limit-down rankings | Stock data, Daily limit-up strategy topic data | Get Tonghuashun daily limit-up and limit-down ranking data. Historical data is available from 20231101, and incremental updates are provided around 16:00 every day |
| 356 | limit_step | Limit-up stock consecutive board ladder | Stock data, Daily limit-up strategy topic data | Get stocks that advance by number of consecutive limit-ups each day. You can analyze the number of consecutive limit-up advancements each day and judge the strength and heat |
| 357 | limit_cpt_list | Statistics of the strongest limit-up sectors | Stock data, Daily limit-up strategy topic data | Get the concept sectors with the most and strongest limit-up stocks each day. You can analyze the rotation of strong sectors and judge capital movement |
| 362 | dc_index | East Money concept sectors | Stock data, Daily limit-up strategy topic data | Get East Money concept sector data for each trading day, supporting query by date |
| 363 | dc_member | East Money concept constituents | Stock data, Daily limit-up strategy topic data | Get daily constituent data of East Money sectors. You can obtain historical constituents based on concept sector code and trading date |
| 369 | stk_auction | Opening auction transactions (current day) | Stock data, Daily limit-up strategy topic data | Get the call auction transaction situation of individual stocks and ETFs for the current day. The current day's call auction transaction data can be obtained between 9:25 and 9:29 every day |
| 376 | tdx_index | TDX sector information | Stock data, Daily limit-up strategy topic data | Get basic TDX sector information, including concept sectors, industries, styles, regions, etc. |
| 106 | top_list | Dragon and Tiger List daily statistics orders | Stock data, Daily limit-up strategy topic data | Dragon and Tiger List daily transaction details |
| 377 | tdx_member | TDX sector constituents | Stock data, Daily limit-up strategy topic data | Get constituent stock information for each TDX sector |
| 378 | tdx_daily | TDX sector quotes | Stock data, Daily limit-up strategy topic data | Get quotes for each TDX sector, including transaction and valuation data |
| 312 | hm_detail | Hot money trading daily details | Stock data, Daily limit-up strategy topic data | Get daily hot money trading details; data starts from August 2022. For the hot money classification list, please click Hot Money List. |
| 320 | ths_hot | Tonghuashun App Hot List Count | Stock data, limit-up topic data | Get Tonghuashun App hot list data, including hot stocks, concept sectors, ETFs, convertible bonds, Hong Kong and US stocks, etc. Extracted 4 times during each trading day, 4 times after market close, and once at the latest by 22:00. |
| 364 | stk_nineturn | Tom DeMark 9-Turn Indicator | Stock data, featured data | The Tom DeMark 9-Turn (also known as the "9-Turn Sequence") is a stock trend reversal indicator based on technical analysis, whose idea originates from the TD Sequential of technical analysis master Tom DeMark. The core function of this indicator is to determine potential reversal points in stock prices by identifying specific 9-day consecutive price movements during rises or falls, thereby helping investors improve the success rate of bottom fishing and top escaping. The effect is better when the daily level is combined with the 60min 9-turn. Data starts from 20230101. |
| 188 | hk_hold | Shanghai-Shenzhen Stock Connect Holdings Details | Stock data, featured data | Get details of Shanghai-Shenzhen-Hong Kong Stock Connect holdings; data source: Hong Kong Exchanges and Clearing. |
| 267 | broker_recommend | Brokerage Monthly Top Picks | Stock data, featured data | Get brokerage monthly top picks; the current month's data is generally updated within 1 to 3 days. |
| 274 | ccass_hold_detail | Central Clearing and Settlement System Holdings Details | Stock data, featured data | Get details of institutional seat holdings in the Central Clearing and Settlement System; data coveragefull history. According to the exchange disclosure time, the current day's data is completed before 9 AM on the next trading day. |
| 275 | stk_surv | Institutional Research Data | Stock data, featured data | Get institutional research record data of listed companies. |
| 292 | report_rc | Brokerage Earnings Forecast Data | Stock data, featured data | Get earnings forecast data from daily research reports of brokerages (sell side); data starts from 2010, and the current day's data is updated every night from 19:00 to 22:00. |
| 293 | cyq_perf | Daily Chips and Win Rate | Stock data, featured data | Get the daily average chip cost and win rate for A-shares; updated around 18:00 to 19:00 every day; data starts from 2018. |
| 294 | cyq_chips | Daily Chip Distribution | Stock data, featured data | Get the daily chip distribution for A-shares, providing the proportion at each price level; data starts from 2018, and the current day's data is updated between 18:00 and 19:00 every day. |
| 295 | ccass_hold | Central Clearing and Settlement System Holdings Statistics | Stock data, featured data | Get summary data of Central Clearing and Settlement System holdings, covering all historical data. According to the exchange disclosure time, the current day's data is completed and entered into the database before 9 AM on the next trading day. |
| 353 | stk_auction_o | Stock Opening Call Auction Data | Stock data, featured data | Stock opening 9:30 call auction data, updated after market close every day. |
| 354 | stk_auction_c | Stock Closing Call Auction Data | Stock data, featured data | Stock closing 15:00 call auction data, updated after market close every day. |
| 399 | stk_ah_comparison | AH Share Price Comparison | Stock data, featured data | AH share price comparison data, historical data can be obtained by trading date. |
| 328 | stk_factor_pro | Stock Technical Factors (Professional Version) | Stock data, special data | Obtain daily technical factor data for stocks, used to track the current trend of stocks. The data is self-produced by the Tushare community and covers the full history; the output parameter _bfq indicates no adjustment, _qfq indicates forward adjustment, and _hfq indicates backward adjustment. The description explains the default parameters of the factors. If special parameters or more factors are needed, you can contact the administrator for evaluation. |
| 27 | daily | Historical daily bars | Stock data, market data | Obtain stock market data, or through thegeneral market interfaceto obtain data, including forward and backward adjusted data |
| 146 | pro_bar | Adjusted market data | Stock data, market data | |
| 145 | monthly | Monthly bars | Stock data, market data | Obtain A-share monthly bars |
| 374 | rt_min | Real-time minutes | Stock data, market data | Obtain real-time minute data for all A-shares, including 1~60min |
| 372 | rt_k | Real-time daily bars | Stock data, market data | Obtain real-time daily K-line market data, supporting one-time extraction of all stocks' real-time daily K-line market data by stock code and stock code wildcard |
| 370 | stk_mins | Historical minutes | Stock data, market data | Obtain A-share minute data, supporting 1min/5min/15min/30min/60min market data, providing two methods: Python SDK and http Restful API |
| 365 | stk_week_month_adj | Weekly and monthly adjusted market data (daily update) | Stock data, market data | Stock weekly/monthly bars (adjusted -- daily update) |
| 336 | stk_weekly_monthly | Weekly and monthly bars (daily update) | Stock data, market data | Stock weekly/monthly bars (daily update) |
| 255 | bak_daily | Alternative market data | Stock data, market data | Obtain alternative market data, including specific market indicators (data starts around mid-2017, with a few days of missing data in the early period, and is normal recently) |
| 144 | weekly | Weekly bars | Stock data, market data | Obtain A-share weekly bars. This interface updates on the last trading day of each week. If you need weekly data updated daily, please usethe daily-updated weekly bars interface。 |
| 214 | suspend_d | Daily suspension and resumption information | Stock data, market data | Obtain daily stock suspension and resumption information by date |
| 196 | ggt_daily | Daily Hong Kong Stock Connect trading statistics | Stock data, market data | Obtain daily Hong Kong Stock Connect trading information, data starting from 2014 |
| 183 | stk_limit | Daily price limits | Stock data, market data | Obtain daily price limits for the whole market (including A/B shares and funds), including upper limit prices, lower limit prices, etc. The daily stock price limits for the current day are updated around 8:40 on each trading day. |
| 109 | pro_bar | General market interface | Stock data, market data | |
| 49 | ggt_top10 | Top ten traded stocks of Hong Kong Stock Connect | Stock data, market data | Obtain daily Hong Kong Stock Connect trading data, including detailed data for the Shanghai and Shenzhen markets. The update for the day is completed between 18:00 and 20:00 every day. |
| 48 | hsgt_top10 | Top ten traded stocks of Shanghai-Shenzhen Stock Connect | Stock data, market data | Get detailed data of the top ten daily trades of Shanghai Stock Connect and Shenzhen Stock Connect, completed daily between 18:00 and 20:00 for the current day's update |
| 32 | daily_basic | Daily indicators | Stock data, market data | Get important daily fundamental indicators for all stocks, which can be used for stock selection analysis, report display, etc. A single request returns a maximum of 6,000 records, and all history can be extracted in a daily-loop manner. |
| 28 | adj_factor | Adjustment factor | Stock data, market data | This API is independently produced by Tushare to obtain stock adjustment factors. It can extract all historical adjustment factors for a single stock, or extract the adjustment factors for all stocks on a single day. |
| 197 | ggt_monthly | Monthly trading statistics of Hong Kong Stock Connect | Stock data, market data | Monthly trading information of Hong Kong Stock Connect, with data starting from 2014 |
| 33 | income | Income statement | Stock data, financial data | Get income statement data of listed companies |
| 44 | cashflow | Cash flow statement | Stock data, financial data | Get cash flow statements of listed companies |
| 36 | balancesheet | Balance sheet | Stock data, financial data | Get balance sheets of listed companies |
| 46 | express | Earnings express report | Stock data, financial data | Get earnings express reports of listed companies |
| 79 | fina_indicator | Financial indicator data | Stock data, financial data | Get financial indicator data of listed companies. To avoid server pressure, at this stage each request returns a maximum of 100 records. More data can be obtained by making multiple requests with date settings. |
| 81 | fina_mainbz | Main business composition | Stock data, financial data | Obtain the main business composition of listed companies, in two ways: by region and by product |
| 103 | dividend | Dividend and bonus share data | Stock data, financial data | Dividend and bonus share data |
| 162 | disclosure_date | Financial report disclosure date table | Stock data, financial data | Get scheduled financial report disclosure dates |
| 45 | forecast | Earnings forecast | Stock data, financial data | Get earnings forecast data |
| 80 | fina_audit | Financial audit opinion | Stock data, financial data | Get periodic financial audit opinion data of listed companies |
| 47 | moneyflow_hsgt | Shanghai-Hong Kong-Shenzhen Stock Connect capital flow | Stock data, capital flow data | Get daily capital flow data of Shanghai Stock Connect, Shenzhen Stock Connect, and Hong Kong Stock Connect. Each request returns a maximum of 300 records, with no total limit. |
| 170 | moneyflow | Individual stock capital flow | Stock data, capital flow data | Get capital flow data of Shanghai and Shenzhen A-shares, analyze large-order and small-order transactions, and use it to judge capital trends. Data starts from 2010. |
| 343 | moneyflow_ind_ths | Industry capital flow (THS) | Stock data, capital flow data | Get Tonghuashun industry capital flow, updated daily after market close |
| 344 | moneyflow_ind_dc | Sector capital flow (DC) | Stock data, capital flow data | Get East Money sector capital flow, updated daily after market close |
| 345 | moneyflow_mkt_dc | Market capital flow (DC) | Stock data, capital flow data | Get Eastmoney market-wide capital flow data, updated daily after market close |
| 348 | moneyflow_ths | Individual stock capital flow (THS) | Stock data, capital flow data | Get THS individual stock capital flow data, updated daily after market close |
| 349 | moneyflow_dc | Individual stock capital flow (DC) | Stock data, capital flow data | Get Eastmoney individual stock capital flow data, updated daily after market close, data starts from 20230911 |
| 371 | moneyflow_cnt_ths | Sector capital flow (THS) | Stock data, capital flow data | Get daily capital flow for THS concept sectors |
| 156 | film_record | National film script filing data | Industry economy, TMT industry | Get public disclosure data for national film script filings |
| 180 | teleplay_record | National TV drama filing public disclosure data | Industry economy, TMT industry | Get public disclosure data for national TV drama production filings since 2009 |
| 87 | tmt_twincomedetail | Taiwan electronics industry monthly revenue details | Industry economy, TMT industry | Get monthly revenue by product category for listed companies in Taiwan's TMT industry. |
| 88 | tmt_twincome | Taiwan electronics industry monthly revenue | Industry economy, TMT industry | Get monthly revenue data by product category in Taiwan's TMT electronics industry. |
| 113 | bo_monthly | Monthly film box office | Industry economy, TMT industry | Get monthly film box office data |
| 115 | bo_daily | Daily film box office | Industry economy, TMT industry | Get daily film box office |
| 116 | bo_cinema | Daily cinema box office | Industry economy, TMT industry | Get daily box office data for each cinema |
| 114 | bo_weekly | Weekly film box office | Industry economy, TMT industry | Get weekly box office data |
| 265 | fund_sales_ratio | Proportion of public fund sales retention scale by channel | Wealth management, fund sales industry data | Get data on the proportion of public fund sales retention scale by channel, updated annually |
| 266 | fund_sales_vol | Public fund sales retention scale of sales institutions | Wealth management, fund sales industry data | Get public fund sales retention scale data of sales institutions. This data has been published since 2021 Q1 and is updated quarterly. |