From 0ac6034fd72d0f7b4dbec8f3c5114cbf54c9affa Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Fri, 8 Mar 2019 09:44:38 +0800 Subject: [PATCH] [Fix]Close #1451 --- vnpy/app/cta_strategy/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/app/cta_strategy/engine.py b/vnpy/app/cta_strategy/engine.py index 70cc54fb..65ea7f5d 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -331,7 +331,7 @@ class CtaEngine(BaseEngine): return req = order.create_cancel_request() - self.main_engine.cancel_limit_order(req, order.gateway_name) + self.main_engine.cancel_order(req, order.gateway_name) def cancel_stop_order(self, strategy: CtaTemplate, stop_orderid: str): """