- fixed
git-svn-id: http://moon:8086/svn/projects/Stock@299 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ def bollinger(data, window_days, f=2):
|
||||
lower = mid - f * stddev
|
||||
result = pd.DataFrame(upper, index=data.index, columns=['upper'])
|
||||
result['lower'] = lower
|
||||
result['mid'] = stddev
|
||||
result['mid'] = mid
|
||||
return result
|
||||
|
||||
data = {}
|
||||
|
||||
Reference in New Issue
Block a user