[bug fix]

This commit is contained in:
msincenselee 2020-04-07 22:03:23 +08:00
parent 1a9716485c
commit 564b0b8c0a
2 changed files with 2 additions and 2 deletions

View File

@ -599,7 +599,7 @@ class CtaEngine(BaseEngine):
order = self.main_engine.get_order(vt_orderid) order = self.main_engine.get_order(vt_orderid)
if not order: if not order:
self.write_log(msg=f"撤单失败,找不到委托{vt_orderid}", self.write_log(msg=f"撤单失败,找不到委托{vt_orderid}",
strategy_Name=strategy.strategy_name, strategy_name=strategy.strategy_name,
level=logging.ERROR) level=logging.ERROR)
return False return False

View File

@ -621,7 +621,7 @@ class CtaEngine(BaseEngine):
order = self.main_engine.get_order(vt_orderid) order = self.main_engine.get_order(vt_orderid)
if not order: if not order:
self.write_log(msg=f"撤单失败,找不到委托{vt_orderid}", self.write_log(msg=f"撤单失败,找不到委托{vt_orderid}",
strategy_Name=strategy.strategy_name, strategy_name=strategy.strategy_name,
level=logging.ERROR) level=logging.ERROR)
return False return False