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

Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 858, in send_order
self.main_engine.send_order(req, gateway_name)
File "C:\vnstudio\lib\site-packages\vnpy\app\risk_manager\engine.py", line 58, in send_order
return self._send_order(req, gateway_name)
File "C:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 173, in send_order
return gateway.send_order(req)
File "C:\vnstudio\lib\site-packages\vnpy\gateway\ib\ib_gateway.py", line 171, in send_order
return self.api.send_order(req)
File "C:\vnstudio\lib\site-packages\vnpy\gateway\ib\ib_gateway.py", line 665, in send_order
self.client.placeOrder(self.orderid, ib_contract, ib_order)
File "C:\vnstudio\lib\site-packages\ibapi\client.py", line 1346, in placeOrder
self.sendMsg(msg)
File "C:\vnstudio\lib\site-packages\ibapi\client.py", line 78, in sendMsg
self.conn.sendMsg(full_msg)
File "C:\vnstudio\lib\site-packages\ibapi\connection.py", line 80, in sendMsg
nSent = self.socket.send(msg)
ConnectionAbortedError: [WinError 10053] 連線已被您主機上的軟體中止。

Administrator
avatar
加入于:
帖子: 1908
声望: 85

请问是否启动了IB TWS,以及是否已经正常连接了IbGateway

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