VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 3
声望: 0

Traceback (most recent call last):
File "D:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 278, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "D:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 43, in init
self.backtester_engine.init_engine()
File "D:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 60, in init_engine
self.init_rqdata()
File "D:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 66, in init_rqdata
result = rqdata_client.init()
File "D:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 60, in init
df = rqdata_all_instruments()
File "D:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 131, in wrap
return func(args, **kwargs)
File "D:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 329, in all_instruments
ins_ret = filter(cond, _all_instruments_list(market))
File "D:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 111, in wrapper
value = user_function(
args, **kwargs)
File "D:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 108, in _all_instruments_list
return [Instrument(i) for i in get_client().execute("all_instruments", market=market)]
TypeError: 'NoneType' object is not iterable

Administrator
avatar
加入于:
帖子: 4491
声望: 310

rqdatac连接问题,请升级到2.0.8版本试试

Member
avatar
加入于:
帖子: 4
声望: 0

我也遇到同样的问题。请问解决了吗?我都升级都最新版本了

Member
avatar
加入于:
帖子: 3357
声望: 225

请问你rqdatac和vnpy_rqdata的版本是?
请贴一下报错截图

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】