git-svn-id: http://moon:8086/svn/projects/Stock@299 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-12-10 07:46:08 +00:00
parent 1aeffb1ff8
commit f6b3ed673c
+1 -1
View File
@@ -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 = {}