This commit is contained in:
vn.py 2017-12-01 22:33:10 +08:00
parent e2f1a5cfe1
commit a155e8f0a5

View File

@ -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]
#---------------------------------------------------------------------- #----------------------------------------------------------------------