From dc16eb99cd183ee465aca1c1907c1a6a415cdc0e Mon Sep 17 00:00:00 2001 From: msincenselee Date: Tue, 21 Jul 2020 22:39:04 +0800 Subject: [PATCH] =?UTF-8?q?[bug=20fix]=20=E7=A7=BB=E4=BB=93=E6=8D=A2?= =?UTF-8?q?=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/app/cta_strategy_pro/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/app/cta_strategy_pro/template.py b/vnpy/app/cta_strategy_pro/template.py index 19e14052..4edc30e8 100644 --- a/vnpy/app/cta_strategy_pro/template.py +++ b/vnpy/app/cta_strategy_pro/template.py @@ -989,7 +989,7 @@ class CtaProTemplate(CtaTemplate): # 委托平空非主力合约 vt_orderids = self.cover(price=none_mi_price, volume=none_mi_grid.volume, - vt_symbol=self.vt_symbol, + vt_symbol=none_mi_symbol, order_type=self.order_type, grid=none_mi_grid) if len(vt_orderids) > 0: