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

请问版主 这个是米匡过期了吗? 没有可用的数据?

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

Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 278, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\ui\widget.py", line 43, in init
self.backtester_engine.init_engine()
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 60, in init_engine
self.init_rqdata()
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 66, in init_rqdata
result = rqdata_client.init()
File "C:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 56, in init
use_pool=True,
File "C:\vnstudio\lib\site-packages\rqdatac\client.py", line 166, in init
quota = get_client().execute("user.get_quota")
File "C:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(args, **kwargs)
File "C:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 25, in execute
with self._get_connection() as conn:
File "C:\vnstudio\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "C:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 36, in _get_connection
conn = self._ensure_connection()
File "C:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 57, in _ensure_connection
return self._new_connection()
File "C:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(
args, **kwargs)
File "C:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 65, in _new_connection
return Connection(s, self._auth)
File "C:\vnstudio\lib\site-packages\rqdatac\connection.py", line 67, in init
self._do_auth(self._auth_info)
File "C:\vnstudio\lib\site-packages\rqdatac\connection.py", line 112, in _do_auth
msg_type, body = self._read_one_packet()
File "C:\vnstudio\lib\site-packages\rqdatac\connection.py", line 102, in _read_one_packet
raise get_error(code)(msg)
rqdatac.share.errors.AuthenticationFailed: user does not have data access

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

我找到解决了 删除vntrader这个文件 就可以了。

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