修复typo

This commit is contained in:
chenxy123 2017-03-06 23:02:52 +08:00
parent 85f31e7423
commit 45f8cb21e6

View File

@ -201,7 +201,7 @@ class KkStrategy(CtaTemplate):
self.kkLength)[-1] self.kkLength)[-1]
self.kkMid = talib.MA(self.closeArray, self.kkLength)[-1] self.kkMid = talib.MA(self.closeArray, self.kkLength)[-1]
self.kkUp = self.kkMid + self.atrValue * self.kkDev self.kkUp = self.kkMid + self.atrValue * self.kkDev
self.kkDown = self.kkMid - self.atrValue * self.kkdev self.kkDown = self.kkMid - self.atrValue * self.kkDev
# 判断是否要进行交易 # 判断是否要进行交易