vn.py量化社区
By Traders, For Traders.
Member
加入于:
帖子: 78
声望: 0

rqdata无法读到:
我按照论坛里的讨论把master分支更新了,但是还是出问题。
Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 365, in run_downloading
data = rqdata_client.query_history(req)
File "C:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 136, in query_history
adjust_type="none"
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\get_price.py", line 117, in get_price
pf = get_minbar(order_book_ids, start_date, end_date, fields, duration, market)
File "C:\vnstudio\lib\site-packages\rqdatac\services\get_price.py", line 433, in get_minbar
"get_minbar_v", order_book_ids, start_date, end_date, fields, duration, 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 25, 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 36, in _get_connection
conn = self._ensure_connection()
File "C:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 52, in _ensure_connection
if conn.is_nomal():
AttributeError: 'Connection' object has no attribute 'is_nomal'
请问这个问题怎么解决?

Administrator
avatar
加入于:
帖子: 4040
声望: 223

升级下你的rqdata

pip uninstall rqdatac
pip install --pre --extra-index-url https://rquser:ricequant99@py.ricequant.com/simple/ rqdatac
© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3