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

15:36:59 ----------------------------------------
15:36:59 IF88.CFFEX-1m开始下载历史数据
15:37:03 数据下载失败,触发异常:
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 365, in run_downloading
data = rqdata_client.query_history(req)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\vnpy\trader\rqdata.py", line 136, in query_history
adjust_type="none"
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\decorators.py", line 131, in wrap
return func(args, **kwargs)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\services\get_price.py", line 124, in get_price
today_pf = get_today_minbar(order_book_ids, fields, duration, market)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\services\get_price.py", line 465, in get_today_minbar
data = get_client().execute("get_today_minbar", order_book_ids, fields, duration, market)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(
args, **kwargs)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\connection_pool.py", line 25, in execute
with self._get_connection() as conn:
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\connection_pool.py", line 36, in _get_connection
conn = self._ensure_connection()
File "C:\ProgramData\Miniconda3\envs\vnpy_3.7\lib\site-packages\rqdatac\connection_pool.py", line 52, in _ensure_connection
if conn.is_nomal():
AttributeError: 'Connection' object has no attribute 'is_nomal'

15:37:04 ----------------------------------------
15:37:04 IF88.CFFEX-d开始下载历史数据
15:37:04 IF88.CFFEX-d历史数据下载完成
15:37:08 ----------------------------------------

Administrator
avatar
加入于:
帖子: 4881
声望: 284

我来问下米筐那边

Administrator
avatar
加入于:
帖子: 4881
声望: 284

pip install --extra-index-url https://rquser:ricequant99@py.ricequant.com/simple/ rqdatac==2.4.0

请试试在cmd中运行上述命令来升级下rqdatac模块

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

沪公网安备 31011502017034号