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

同标题,登录后,CTP交易连接成功、行情服务器连接成功、交易登录成功、行情服务器登录成功、结算信息确认成功。但就是不显示资金账号信息,也没有持仓信息。提示错过如下:
通过Pro登录没问题,
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\jacky\VNConda\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\jacky\VNConda\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\jacky\VNConda\lib\site-packages\vnpy\event\engine.py", line 60, in _run
self._process(event)
File "C:\Users\jacky\VNConda\lib\site-packages\vnpy\event\engine.py", line 73, in _process
[handler(event) for handler in self._handlers[event.type]]
File "C:\Users\jacky\VNConda\lib\site-packages\vnpy\event\engine.py", line 73, in <listcomp>
[handler(event) for handler in self._handlers[event.type]]
AttributeError: 'LogMonitor' does not have a signal with the signature signal(PyQt_PyObject)

但通过PRO登录没有该问题,然后点击功能选项中的CTA策略,提示如下错误:
Traceback (most recent call last):
File "C:\Users\jacky\VNConda\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 178, in connect
dialog = self.connect_dialogs.get(gateway_name, None)
AttributeError: 'MainWindow' object has no attribute 'connect_dialogs'

Administrator
avatar
加入于:
帖子: 4188
声望: 235
  1. 我们通过测试后,发现确实某些机器会存在以上问题(但并非100%出现)
  2. 推荐尝试pip uninstall vnpy,然后再去下载的vnpy目录下python setup.py install全新安装
© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3