From 19ef292b75a3638377a594df0d206e5c854ca92a Mon Sep 17 00:00:00 2001 From: msincenselee Date: Mon, 26 Feb 2018 09:46:04 +0800 Subject: [PATCH] bug fix --- vnpy/trader/app/ctaStrategy/ctaGridTrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/app/ctaStrategy/ctaGridTrade.py b/vnpy/trader/app/ctaStrategy/ctaGridTrade.py index 6d318a77..86b7deb0 100644 --- a/vnpy/trader/app/ctaStrategy/ctaGridTrade.py +++ b/vnpy/trader/app/ctaStrategy/ctaGridTrade.py @@ -80,7 +80,7 @@ class CtaGrid(object): j['closeStatus'] = self.closeStatus # 平仓状态 j['lockGrids'] = self.lockGrids # 对锁的网格 j['reuse'] = self.reuse # 是否重用 - j['type'] = self.reuse # 是否重用 + j['type'] = self.type # 类型 j['openPrices'] = self.openPrices # 套利中,两腿的开仓价格 j['snapshot'] = self.snapshot # 切片数据