xtdata.get_market_data(field_list=[], stock_list=[self.stock_num], period='1d', start_time=start_date, end_time=end_date, count=-1,
dividend_type='none', fill_data=True)
# xtdata.download_history_data(stock_code=self.stock_num, period=period, start_time=start_date, end_time=end_date)
xtdata.download_history_data2([self.stock_num], period=period, start_time=start_date, end_time=end_date)
ohcl_dict= xtdata.get_local_data(stock_list=[self.stock_num], period=period, start_time=start_date, end_time=end_date,
count=-1, dividend_type='none',data_dir=self.data_dir)
获取到的ohcl_dict只到24.12.30
去年用的好好的,25年就不行了获取不到新一年的数据
是qmt的问题还是券商的问题呢 |