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

Traceback (most recent call last):
File "C:\veighna_studio\lib\site-packages\vnpy\trader\ui\widget.py", line 650, in connect
self.main_engine.connect(setting, self.gateway_name)
File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 172, in connect
gateway.connect(setting)
File "C:\veighna_studio\lib\site-packages\vnpy_rqdata\rqdata_gateway.py", line 97, in connect
self.client = LiveMarketDataClient()
File "C:\veighna_studio\lib\site-packages\rqdatac\services\live_md_client.py", line 220, in init
self._init_websocket_client()
File "C:\veighna_studio\lib\site-packages\rqdatac\services\live_md_client.py", line 226, in _init_websocket_client
_token = get_client().execute(
File "C:\veighna_studio\lib\site-packages\rqdatac\decorators.py", line 67, in wrap
return func(args, **kwargs)
File "C:\veighna_studio\lib\site-packages\rqdatac\thread_local.py", line 42, in execute
return self._execute(self._get_connection(), method, args, kwargs)
File "C:\veighna_studio\lib\site-packages\rqdatac\thread_local.py", line 38, in _execute
raise e
File "C:\veighna_studio\lib\site-packages\rqdatac\thread_local.py", line 33, in _execute
return conn.execute(method,
args, **kwargs)
File "rqdatac\connection.py", line 119, in rqdatac.connection.Connection.execute
File "rqdatac\connection.py", line 89, in rqdatac.connection.Connection._read_one_packet
rqdatac.share.errors.PermissionDenied: Not permit to subscribe live market data!

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

这是在连接RQdata没有按照要求填写,应该在全局配置里,而不是从底层接口加载

LLM学员
avatar
加入于:
帖子: 1534
声望: 111

RQData账号必须购买了Tick数据权限,才能订阅实时数据推送

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

沪公网安备 31011502017034号

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