From 6ec7f301e4765c35202957b00433294efa804857 Mon Sep 17 00:00:00 2001 From: xldistance <819873074@qq.com> Date: Thu, 25 Jul 2019 09:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AC=E5=9C=B0=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E5=8D=95=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复本地停止单返回数据错误 --- 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 bcaf2e6a..d97dbfae 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -418,7 +418,7 @@ class CtaEngine(BaseEngine): self.call_strategy_func(strategy, strategy.on_stop_order, stop_order) self.put_stop_order_event(stop_order) - return stop_orderid + return [stop_orderid] def cancel_server_order(self, strategy: CtaTemplate, vt_orderid: str): """