Skip to main content

rsi

A momentum indicator that measures the magnitude of recent price changes to evaluate

Source Code: [link]

openbb.forecast.rsi(dataset: pd.DataFrame, target_column: str = "close", period: int = 10)

Parameters

NameTypeDescriptionDefaultOptional
datasetpd.DataFrameThe dataset you wish to calculate forNoneFalse
target_columnstrThe column you wish to add the RSI tocloseTrue
periodintTime Span10True

Returns

TypeDescription
pd.DataFrameDataframe with added RSI column