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):