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

股票曾用名的入参有时候不管用 #1674

Open TreeHole4Sphinx opened 2 years ago

TreeHole4Sphinx commented 2 years ago

如果入参只选择:ts_code 出来的结果会多很多,如果加上 start_date 和 end_date 有时候出来的结果就会少,尽管起始日期包括了只选择 ts_code 出来的起始时间

pro.namechange(ts_code = '000001.SZ', fields = 'ts_code, name, start_date, end_date, change_reason') 和 pro.namechange(ts_code = '000001.SZ', start_date = '19910101', end_date = '20211231', fields = 'ts_code, name, start_date, end_date, change_reason') 出来的结果不一样

ID: 535259