ezyquant.indicators.ta.TA.sto#

static TA.sto(high: DataFrame, low: DataFrame, close: DataFrame, window: int = 14, smooth_window: int = 3, fillna: bool = False) Tuple[DataFrame, DataFrame]#

Stochastic RSI (Stochastic Relative Strength Index)

Parameters:
  • high (pd.DataFrame) – dataset ‘High’ dataframe.

  • low (pd.DataFrame) – dataset ‘Low’ dataframe.

  • close (pd.DataFrame) – dataset ‘Close’ dataframe.

  • window (int = 14) – n period.

  • smooth_window (int = 3) – sma period over stoch_k.

  • fillna (bool = False) – if True, fill nan values.

Returns:

Contains:
  • Stochastic Oscillator

  • Signal Stochastic Oscillator

Return type:

Tuple[pd.DataFrame]