1. 程式人生 > >Tushare學習文件(三 股票分類資料)

Tushare學習文件(三 股票分類資料)

import tushare as ts

1.行業分類

ts.get_industry_classified()

 

2.概念分類

ts.get_concept_classified()

 

3.地域分類

ts.get_area_classified()

 

4.中小板分類

ts.get_sme_classified()

 

5.創業板分類

ts.get_gem_classified()

 

6.風險警示板分類

ts.get_st_classified()

 

7.滬深300成分股及其權重

ts.get_hs300s()

 

8.上證50成分股

ts.get_sz50s()

 

9.中證500成分股

ts.get_zz500s()

 

10.終止上市股票列表(有報錯 HTTP Error 403: Forbidden)

ts.get_terminated()

 

11.停止上市股票列表(有報錯 HTTP Error 403: Forbidden)

ts.get_suspended()