[Fix]修复算法交易引擎的委托号和算法对象映射缺失的bug
This commit is contained in:
parent
6eaf19d5a5
commit
17f777b84c
@ -179,6 +179,7 @@ class AlgoEngine(object):
|
|||||||
req.offset = OFFSET_OPEN
|
req.offset = OFFSET_OPEN
|
||||||
|
|
||||||
vtOrderID = self.mainEngine.sendOrder(req, contract.gatewayName)
|
vtOrderID = self.mainEngine.sendOrder(req, contract.gatewayName)
|
||||||
|
self.orderAlgoDict[vtOrderID] = algo
|
||||||
|
|
||||||
return vtOrderID
|
return vtOrderID
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user