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

Traceback (most recent call last):
File "D:\VNPY\lib\site-packages\vnstation\cli.py", line 92, in run_trader
main_engine.add_app(app)
File "D:\VNPY\lib\site-packages\vnpy\trader\engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "D:\VNPY\lib\site-packages\vnpy\trader\engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "D:\VNPY\lib\site-packages\vnpy\app\chart_wizard\engine.py", line 24, in init
rqdata_client.init()
File "D:\VNPY\lib\site-packages\vnpy\trader\rqdata.py", line 58, in init
max_pool_size=3
File "D:\VNPY\lib\site-packages\rqdatac\client.py", line 166, in init
quota = get_client().execute("user.get_quota")
File "D:\VNPY\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(args, **kwargs)
File "D:\VNPY\lib\site-packages\rqdatac\connection_pool.py", line 25, in execute
with self._get_connection() as conn:
File "D:\VNPY\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "D:\VNPY\lib\site-packages\rqdatac\connection_pool.py", line 36, in _get_connection
conn = self._ensure_connection()
File "D:\VNPY\lib\site-packages\rqdatac\connection_pool.py", line 57, in _ensure_connection
return self._new_connection()
File "D:\VNPY\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(
args, **kwargs)
File "D:\VNPY\lib\site-packages\rqdatac\connection_pool.py", line 61, in _new_connection
s = socket.create_connection(self._addr, timeout=self._connect_timeout)
File "D:\VNPY\lib\socket.py", line 727, in create_connection
raise err
File "D:\VNPY\lib\socket.py", line 716, in create_connection
sock.connect(sa)
socket.timeout: timed out
请问是什么原因?

Administrator
avatar
加入于:
帖子: 4220
声望: 241

网络问题,连不上RQData服务器,请检查下吧

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