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

File "c:\vnstudio\lib\site-packages\vnpy\gateway\tora\torastock_gateway.py", line 172, in connect
self.md_api.connect(username, password, md_address, account_type, address_type)
File "c:\vnstudio\lib\site-packages\vnpy\gateway\tora\torastock_gateway.py", line 386, in connect
self.login()
File "c:\vnstudio\lib\site-packages\vnpy\gateway\tora\torastock_gateway.py", line 396, in login
login_req.TerminalInfo = get_terminal_info()
File "c:\vnstudio\lib\site-packages\vnpy\gateway\tora\terminal_info.py", line 55, in get_terminal_info
hd = get_hd()
File "c:\vnstudio\lib\site-packages\vnpy\gateway\tora\terminal_info.py", line 41, in get_hd
hd = disk.SerialNumber.strip()
AttributeError: 'NoneType' object has no attribute 'strip'

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

vnpy升级到2.5后登陆会报错,2.3没问题

Member
avatar
加入于:
帖子: 3164
声望: 185

这个接口没有修改,应该是没有获取到你的硬盘序列号吧

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

确实,用的服务器。没有磁盘

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

沪公网安备 31011502017034号