vn.py官网
开源量化社区
Member
avatar
加入于:
帖子: 13
声望: 0

description

Member
avatar
加入于:
帖子: 2364
声望: 148

能看一下完整报错信息吗

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

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 281, 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 51, in init
self.backtester_engine.init_engine()
File "c:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 57, in init_engine
self.init_rqdata()
File "c:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 63, in init_rqdata
result = rqdata_client.init()
File "c:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 65, in init
df = rqdata_all_instruments()
File "c:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 131, in wrap
return func(args, **kwargs)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 347, in all_instruments
ins_ret = filter(cond, get_instrument_list(market))
File "c:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 111, in wrapper
value = user_function(
args, kwargs)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 115, in _all_cached_instruments_list
return _all_instruments_list(market)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 110, in _all_instruments_list
return [Instrument(i) for i in get_client().execute("all_instruments", market=market)]
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 26, 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 37, in _get_connection
conn = self._ensure_connection()
File "c:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 58, 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 64, in _new_connection
return Connection(s, self._auth)
File "c:\vnstudio\lib\site-packages\rqdatac\connection.py", line 54, in init
self._do_auth(self._auth_info)
File "c:\vnstudio\lib\site-packages\rqdatac\connection.py", line 97, in _do_auth
msg_type, body = self._read_one_packet()
File "c:\vnstudio\lib\site-packages\rqdatac\connection.py", line 87, in _read_one_packet
raise get_error(code)(msg)
rqdatac.share.errors.PermissionDenied: this license is only allowed to access through the education network

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

请问这个该怎么解决呀

Member
avatar
加入于:
帖子: 2364
声望: 148

这个学生账号只能在校园网环境使用

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

哦哦哦,这样啊,我回去试试

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

我换了校园网,还是不行,同样的错误。不知道为啥

Member
avatar
加入于:
帖子: 2364
声望: 148

那请咨询一下米筐的工作人员好了

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

咨询过了,说是ip地址不在他们的网段池里,他们已经加进去了,让明天再试试

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

沪公网安备 31011502017034号