waditu / tushare

TuShare is a utility for crawling historical data of China stocks
BSD 3-Clause "New" or "Revised" License
12.88k stars 4.29k forks source link

基础数据_股票列表_接口有 bug #1683

Open 1051135268 opened 1 year ago

1051135268 commented 1 year ago

data = pro.stock_basic(exchange='SSE', list_status='D', fields='ts_code,symbol,name,area,industry,fullname,enname,market,list_status,list_date,delist_date,is_hs')

获取上交所已退市股票,找到最后一只股票,

print(data.iloc[-1])

结果显示:

ts_code T00018.SH symbol T00018 name 上港集箱(退) area None industry None fullname 上海港集装箱股份有限公司 enname Shanghai Port Container Co., Ltd. market None list_status D list_date 20000719 delist_date 20061020 is_hs N Name: 89, dtype: object

股票代码 T00018.SH 错了, 应该是 600018.SH, 且该股票已经重新上市。

我的 TushareID: 438046

希望 bug 能早日修复,并给我一些积分,感谢。

uiosun commented 5 months ago

T00018 是上港集箱 600018 是上港集团

作为两个标的,有各自的代码,不冲突