vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 23
声望: 0

Traceback (most recent call last):
File "D:\python\vnpy-2.0.8\vnpy-2.0.8\vnpy\trader\ui\mainwindow.py", line 278, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "D:\python\vnpy-2.0.8\vnpy-2.0.8\vnpy\app\cta_backtester\ui\widget.py", line 43, in init
self.backtester_engine.init_engine()
File "D:\python\vnpy-2.0.8\vnpy-2.0.8\vnpy\app\cta_backtester\engine.py", line 60, in init_engine
self.init_rqdata()
File "D:\python\vnpy-2.0.8\vnpy-2.0.8\vnpy\app\cta_backtester\engine.py", line 66, in init_rqdata
result = rqdata_client.init()
File "D:\python\vnpy-2.0.8\vnpy-2.0.8\vnpy\trader\rqdata.py", line 56, in init
use_pool=True,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\rqdatac\client.py", line 167, in init
remaining_days = quota["remaining_days"]
TypeError: 'NoneType' object is not subscriptable、

请问经常出现这个问题的原因是什么?

Administrator
avatar
加入于:
帖子: 4360
声望: 250

C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\rqdatac\client.py

环境配置有问题,删掉机器上所有Python环境,重装VN Studio

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