diff --git a/vnpy/app/cta_strategy_pro/template.py b/vnpy/app/cta_strategy_pro/template.py index c3237f9e..e74e07e0 100644 --- a/vnpy/app/cta_strategy_pro/template.py +++ b/vnpy/app/cta_strategy_pro/template.py @@ -1819,7 +1819,8 @@ class CtaProFutureTemplate(CtaProTemplate): grid.volume -= grid.traded_volume grid.traded_volume = 0 - if grid_pos.long_pos