[Fix]修复ArrayManager中的数组bug

This commit is contained in:
vn.py 2017-11-05 21:40:40 +08:00
parent 68e762fde3
commit b5357c4d7d

View File

@ -448,7 +448,7 @@ class ArrayManager(object):
if not self.inited and self.count >= self.size: if not self.inited and self.count >= self.size:
self.inited = True self.inited = True
self.openArray[0:self.size-1] = self.closeArray[1:self.size] self.openArray[0:self.size-1] = self.openArray[1:self.size]
self.highArray[0:self.size-1] = self.highArray[1:self.size] self.highArray[0:self.size-1] = self.highArray[1:self.size]
self.lowArray[0:self.size-1] = self.lowArray[1:self.size] self.lowArray[0:self.size-1] = self.lowArray[1:self.size]
self.closeArray[0:self.size-1] = self.closeArray[1:self.size] self.closeArray[0:self.size-1] = self.closeArray[1:self.size]