[Fix]Close #610
This commit is contained in:
parent
e2f1a5cfe1
commit
a155e8f0a5
@ -353,6 +353,7 @@ class BacktestingEngine(object):
|
|||||||
self.strategy.onOrder(order)
|
self.strategy.onOrder(order)
|
||||||
|
|
||||||
# 从字典中删除该限价单
|
# 从字典中删除该限价单
|
||||||
|
if orderID in self.workingLimitOrderDict:
|
||||||
del self.workingLimitOrderDict[orderID]
|
del self.workingLimitOrderDict[orderID]
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user