From 7aa488cc8d13e1d350605a3045eeb75d3d704963 Mon Sep 17 00:00:00 2001 From: Javier Delgado Date: Tue, 2 Mar 2021 13:38:14 +0100 Subject: [PATCH] Realigned docs regarding default length and ma After https://github.com/twopirllc/pandas-ta/commit/fcaf5e90e1af9a05221eb8e0628a99eee256ed9c and https://github.com/twopirllc/pandas-ta/commit/18aacc8eab2ad28962c506e242e3d719c005fe2d, the method documentation regarding the default length and moving average mode parameters became misaligned --- pandas_ta/volatility/bbands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas_ta/volatility/bbands.py b/pandas_ta/volatility/bbands.py index 1904bf2..930723a 100644 --- a/pandas_ta/volatility/bbands.py +++ b/pandas_ta/volatility/bbands.py @@ -91,9 +91,9 @@ Calculation: Args: close (pd.Series): Series of 'close's - length (int): The short period. Default: 20 + length (int): The short period. Default: 5 std (int): The long period. Default: 2 - mamode (str): Two options: "sma" or "ema". Default: "ema" + mamode (str): Two options: "sma" or "ema". Default: "sma" offset (int): How many periods to offset the result. Default: 0 Kwargs: