[bug fix] 移仓换月

This commit is contained in:
msincenselee 2020-07-21 22:39:04 +08:00
parent 764f70ca16
commit dc16eb99cd

View File

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