165 浏览
0

正常回测,with closing(TqApi(acc,backtest=TqBacktest(start_dt=date(2020, 1, 4), end_dt=date(2025, 7, 7)), auth=TqAuth(“账号”,“密码”))) as api:
无报错、无错写,但程序一到23年7、8月份就会报回测结束,

又改了start_dt=date(2022, 6, 6), end_dt=date(2025, 7, 7),但还是在23年7、8月结束,是限制只能最新回测到那个月份么

chaos 已回答的问题 2025年7月9日
0

没有这个限制,大概率是你订阅的合约就在23年7、8月到期结束,或者可以给一个最小复现代码看看

chaos 编辑答案 2025年7月9日
您正在查看1个答案中的1个,单击此处查看所有答案。