修复typo
This commit is contained in:
parent
85f31e7423
commit
45f8cb21e6
@ -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
|
||||||
|
|
||||||
# 判断是否要进行交易
|
# 判断是否要进行交易
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user