获取交易日的两个函数都不能用
第一个,在1219,输入end_time日期为20251219,count为1,返回的是17658144000,转化过去是20251216
get_trading_dates(market, start_time='', end_time='', count=-1)
第二个,
get_trading_calendar(market, start_time = '', end_time = '')
我是用的qmt版本是,中金财富QMT极速策略交易终端2.0.6.1,xtquant版本是2025年112月19日发布的,xtquant_20250807,函数报错显示
xtdata.py line 283 in _BSON_callcommon
return BSON.BSON.decode(interface(func,BSON.BSON.encode(param)))
RuntimeError:当前客户端未支持此功能,请更新客户端或升级投研版。 |