diff --git a/pandas_ta/momentum/roc.py b/pandas_ta/momentum/roc.py index 4b7c2089..df752056 100644 --- a/pandas_ta/momentum/roc.py +++ b/pandas_ta/momentum/roc.py @@ -43,7 +43,7 @@ def roc( Args: close (pd.Series): Series of 'close's - length (int): It's period. Default: 1 + length (int): Its period. Default: 10 scalar (float): How much to magnify. Default: 100 talib (bool): If TA Lib is installed and talib is True, Returns the TA Lib version. Default: True diff --git a/pandas_ta/performance/percent_return.py b/pandas_ta/performance/percent_return.py index d5750c70..f0e9a1ea 100644 --- a/pandas_ta/performance/percent_return.py +++ b/pandas_ta/performance/percent_return.py @@ -19,7 +19,7 @@ def percent_return( Args: close (pd.Series): Series of 'close's - length (int): It's period. Default: 20 + length (int): Its period. Default: 1 cumulative (bool): If True, returns the cumulative returns. Default: False offset (int): How many periods to offset the result. Default: 0