You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
I propose this change
def bollinger_bands(self, df, n): """ :param df: pandas.DataFrame :param n: :return: pandas.DataFrame """ sma = data.rolling(window = n).mean() std = data.rolling(window = n).std() upper_bb = sma + std * 2 lower_bb = sma - std * 2 return upper_bb, lower_bb
The text was updated successfully, but these errors were encountered: