vn.py官网
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 9
声望: 0

安装rqdata发的邮件 安装步骤在cmd安装了 pip install -i https://pypi.douban.com/simple rqdatac
提示安装成功了,配置里面 用户名密码也填写了,但是运行的时候这样 请问哪里有问题?

11:58:08 初始化CTA回测引擎
11:58:08 策略文件加载完成
11:58:16 ----------------------------------------
11:58:16 IF88.CFFEX-1m开始下载历史数据
11:58:17 数据下载失败,触发异常:
Traceback (most recent call last):
File "d:\vnstudio\lib\site-packages\vnpy_ctabacktester\engine.py", line 404, in run_downloading
data = self.datafeed.query_bar_history(req)
File "d:\vnstudio\lib\site-packages\vnpy_rqdata\rqdata_datafeed.py", line 164, in query_bar_history
adjust_type="none"
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 150, in wrap
return func(args, **kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\services\get_price.py", line 103, in get_price
order_book_ids, market
File "d:\vnstudio\lib\site-packages\rqdatac\services\get_price.py", line 222, in classify_order_book_ids
ins_list = ensure_instruments(order_book_ids, market=market)
File "d:\vnstudio\lib\site-packages\rqdatac\validators.py", line 168, in ensure_instruments
all_instruments = _all_instruments_dict(market)
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 129, in wrapper
value = user_function(
args, kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 139, in _all_instruments_dict
ins = _all_cached_instruments_list(market)
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 129, in wrapper
value = user_function(*args,
kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 134, in _all_cached_instruments_list
return _all_instruments_list(market)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 112, in _all_instruments_list
ins = [Instrument(i) for i in get_client().execute("all_instruments", market=market)]
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 67, in wrap
return func(args, **kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 26, in execute
with self._get_connection() as conn:
File "d:\vnstudio\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "d:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 37, in _get_connection
conn = self._ensure_connection()
File "d:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 58, in _ensure_connection
return self._new_connection()
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 67, in wrap
return func(
args, **kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 64, in _new_connection
return Connection(s, self._auth)
File "rqdatac\connection.py", line 54, in rqdatac.connection.Connection.init
File "rqdatac\connection.py", line 97, in rqdatac.connection.Connection._do_auth
File "rqdatac\connection.py", line 87, in rqdatac.connection.Connection._read_one_packet
rqdatac.share.errors.AuthenticationFailed: Authentication failed.

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

已解决用户名密码错误

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

沪公网安备 31011502017034号