relative_strength_index#

relative_strength_index(*, column: DataColumn, days: int) DataColumn[source]

Calculate the Relative Strength Index (RSI) over a specified period.

The RSI is a momentum oscillator that measures the speed and change of price movements.

Parameters:
  • column (DataColumn) – Price data for RSI calculation.

  • days (int) – Number of days for the RSI calculation.

Returns:

The RSI values as a DataColumn.

Return type:

DataColumn