Lowest and highest values over a specified period
MINMAX returns the lowest and highest values over a specified period.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source | pd.Series | Input data series | - |
timeperiod | int | Number of periods for the indicator | 30 |
Outputs
The outputs are returned as a tuple of objects. Make sure to unpack them as shown in the example usage.
Output | Type |
---|---|
min | np.ndarray |
max | np.ndarray |