From 7f4c33719f5ee082f2314e641ca28edd3e818e1b Mon Sep 17 00:00:00 2001 From: msincenselee Date: Wed, 5 Feb 2020 11:29:47 +0800 Subject: [PATCH] =?UTF-8?q?[bug=20fix]=E8=8E=B7=E5=8F=96=E7=AD=96=E7=95=A5?= =?UTF-8?q?=E6=8C=81=E4=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/app/cta_strategy_pro/template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vnpy/app/cta_strategy_pro/template.py b/vnpy/app/cta_strategy_pro/template.py index 299aed48..3199d370 100644 --- a/vnpy/app/cta_strategy_pro/template.py +++ b/vnpy/app/cta_strategy_pro/template.py @@ -124,6 +124,7 @@ class CtaTemplate(ABC): "direction": "short", "volume": abs(self.pos) }) + return pos_list @virtual def on_timer(self):