mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 18:01:10 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
828 B
Vendored
828 B
Vendored
title, description
| title | description |
|---|---|
| rsi | OpenBB SDK Function |
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
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| dataset | pd.DataFrame | The dataset you wish to calculate for | None | False |
| target_column | str | The column you wish to add the RSI to | close | True |
| period | int | Time Span | 10 | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | Dataframe with added RSI column |