From f3fc7e1491b73f44b980a34c663fc14fe93c2387 Mon Sep 17 00:00:00 2001 From: Dario Lopez Padial Date: Wed, 11 Dec 2019 13:14:15 +0100 Subject: [PATCH] fixing bug --- ta/volatility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ta/volatility.py b/ta/volatility.py index 8b17548c..f039e96e 100644 --- a/ta/volatility.py +++ b/ta/volatility.py @@ -114,7 +114,7 @@ def bollinger_wband(self) -> pd.Series: pandas.Series: New feature generated. """ wband = self._hband - self._lband - wband = self.check_fillna(wband, value=0) + wband = self._check_fillna(wband, value=0) return pd.Series(wband, name='bbiwband') def bollinger_hband_indicator(self) -> pd.Series: