连接IB之后,订阅行情输入合约代码回车后,就报错如下,请教如何解决。
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\client.py", line 263, in run
self.decoder.interpret(fields)
File "D:\veighna_studio\lib\site-packages\ibapi\decoder.py", line 1296, in interpret
handleInfo.processMeth(self, iter(fields))
File "D:\veighna_studio\lib\site-packages\ibapi\decoder.py", line 330, in processContractDataMsg
self.wrapper.contractDetails(reqId, contract)
File "D:\veighna_studio\lib\site-packages\vnpy_ib\ib_gateway.py", line 668, in contractDetails
min_volume=contractDetails.minSize,
AttributeError: 'ContractDetails' object has no attribute 'minSize'