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/