[bug fix]
This commit is contained in:
parent
1a9716485c
commit
564b0b8c0a
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user