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

vnpy版本是v2.2.0,刚申请了一个测试账号,数据管理不能下载历史数据
下载分钟数据时的错误
Traceback (most recent call last): File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\app\data_manager\ui\widget.py", line 591, in download count = self.engine.download_bar_data(symbol, exchange, interval, start) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\app\data_manager\engine.py", line 203, in download_bar_data data = rqdata_client.query_history(req) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\trader\rqdata.py", line 175, in query_history adjust_type="none" File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\decorators.py", line 139, in wrap return func(*args, **kwargs) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\services\get_price.py", line 115, in get_price stocks, funds, indexes, futures, futures888, spots, options, convertibles, repos, market File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\services\detail\get_price_df.py", line 123, in get_price_df raise PermissionDenied("Not permit to get minbar price ") rqdatac.share.errors.PermissionDenied: Not permit to get minbar price
下载日线数据时的错误
Traceback (most recent call last): File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\app\data_manager\ui\widget.py", line 591, in download count = self.engine.download_bar_data(symbol, exchange, interval, start) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\app\data_manager\engine.py", line 203, in download_bar_data data = rqdata_client.query_history(req) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\vnpy\trader\rqdata.py", line 175, in query_history adjust_type="none" File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\decorators.py", line 139, in wrap return func(*args, **kwargs) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\services\get_price.py", line 115, in get_price stocks, funds, indexes, futures, futures888, spots, options, convertibles, repos, market File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\services\detail\get_price_df.py", line 88, in get_price_df pf, obid_slice_map = get_daybar(order_book_ids, start_date, end_date, fields, duration, market) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\services\detail\get_price_df.py", line 150, in get_daybar "get_daybar_v", order_book_ids, start_date, end_date, fields, duration, market File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\decorators.py", line 67, in wrap return func(*args, **kwargs) File "C:\Users\Administrator\.conda\envs\vnpy\lib\site-packages\rqdatac\connection_pool.py", line 27, in execute return conn.execute(method, *args, **kwargs) File "rqdatac\connection.py", line 117, in rqdatac.connection.Connection.execute File "rqdatac\connection.py", line 87, in rqdatac.connection.Connection._read_one_packet rqdatac.share.errors.PermissionDenied: no permission to access day bar for instruments with type CS, please contact us at https://www.ricequant.com/

Member
avatar
加入于:
帖子: 337
声望: 28

试用数据应该也是有范围限制的,请确认一下RQData的数据获取权限。

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

青青子荆 wrote:

试用数据应该也是有范围限制的,请确认一下RQData的数据获取权限。
问了说我申请的是期权数据,没有股票数据,不知道是不是点错了 = =

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

沪公网安备 31011502017034号

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