From 135b16dc44610ce40b583895da078835673650dc Mon Sep 17 00:00:00 2001 From: xldistance <819873074@qq.com> Date: Wed, 12 Jun 2019 18:44:07 +0800 Subject: [PATCH] Update engine.py --- 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 cb056987..38e06d30 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -187,7 +187,7 @@ class CtaEngine(BaseEngine): stop_orderid=order.vt_orderid, strategy_name=strategy.strategy_name, status=STOP_STATUS_MAP[order.status], - vt_orderids=order.vt_orderid, + vt_orderids=[order.vt_orderid], ) self.call_strategy_func(strategy, strategy.on_stop_order, so)