start_time = str(start_dt).replace('-', '')
end_time = str(end_dt).replace('-', '')
period = "1d"
dividend_type = 'front'
xtdata.download_history_data('600690.SH', period=period, start_time=start_time, end_time=end_time,incrementally=True)
history_data = xtdata.get_market_data_ex(['time', 'open', 'close', 'high', 'low', 'volume','amount', 'preClose'],['600690.SH'], period=period, dividend_type = dividend_type,start_time=start_time, end_time=end_time, count=-1)
print(history_data)
是国金证券的miniqmt,一直数据获取正常,11月28日以后发现代码没变,复权数据取出来的是不复权的数据了 |