VeighNa量化社区
你的开源社区量化交易平台 | vn.py | vnpy
Member
avatar
加入于:
帖子: 5
声望: 0

Traceback (most recent call last):
File "D:\veighna_studio\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "D:\veighna_studio\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\veighna_studio\lib\site-packages\ibapi-10.34.2-py3.10.egg\ibapi\client.py", line 405, in run
self.decoder.interpret(fields)
File "D:\veighna_studio\lib\site-packages\ibapi-10.34.2-py3.10.egg\ibapi\decoder.py", line 1542, in interpret
handleInfo.processMeth(self, iter(fields))
File "D:\veighna_studio\lib\site-packages\ibapi-10.34.2-py3.10.egg\ibapi\decoder.py", line 1424, in processErrorMsg
self.wrapper.error(reqId, errorTime, errorCode, errorString, advancedOrderRejectJson)
TypeError: IbApi.error() takes from 4 to 5 positional arguments but 6 were given
description

Member
avatar
加入于:
帖子: 5379
声望: 327

可以降级一下ibapi版本试试看

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

试了,降到10.30版本的API也是不行

Member
avatar
加入于:
帖子: 1826
声望: 138

请使用10.19.1的ibapi,具体说明见这里:https://github.com/vnpy/vnpy_ib

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

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】