软件版本:国金QMTv2.0.8.300
xtquant版本:xtquant_250807
bug:xtdata.download_sector_data()卡死
详情:
debug源码后发现在xtdata的 download_history_data2函数中,result = client.supply_history_data2(stock_list, spec_period, start_time, end_time, _BSON_.BSON.encode(param), on_progress)无法进入回调函数。导致后续的status[0]为False,进而在后续的
while not status[0] and client.is_connected():
_TIME_.sleep(0.1)
进入死循环。但是supply_history_data2就已经是二进制代码了,无法继续调试。
这个只能请工程师帮忙解决了。 |