[Fix]修复算法交易引擎的委托号和算法对象映射缺失的bug

This commit is contained in:
vn.py 2018-06-13 11:55:33 +08:00
parent 6eaf19d5a5
commit 17f777b84c

View File

@ -179,6 +179,7 @@ class AlgoEngine(object):
req.offset = OFFSET_OPEN
vtOrderID = self.mainEngine.sendOrder(req, contract.gatewayName)
self.orderAlgoDict[vtOrderID] = algo
return vtOrderID