Merge pull request #249 from zhnlks/dev

fix typo
This commit is contained in:
vn.py 2017-03-07 16:17:49 +08:00 committed by GitHub
commit 70151b0f16

View File

@ -230,7 +230,7 @@ class TargetPosTemplate(CtaTemplate):
#---------------------------------------------------------------------- #----------------------------------------------------------------------
def onOrder(self, order): def onOrder(self, order):
"""收到委托推送""" """收到委托推送"""
if order.status == STATUS_ALLTRADED or order.stauts == STATUS_CANCELLED: if order.status == STATUS_ALLTRADED or order.status == STATUS_CANCELLED:
self.orderList.remove(order.vtOrderID) self.orderList.remove(order.vtOrderID)
#---------------------------------------------------------------------- #----------------------------------------------------------------------