mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-09 10:51:57 +00:00
* Adding versioning to docs --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: tehcoderer <me@tehcoderer.com>
774 B
Vendored
774 B
Vendored
title, description
| title | description |
|---|---|
| rsi | OpenBB Terminal Function |
rsi
Strategy that buys when the stock is less than a threshold and shorts when it exceeds a threshold.
Usage
rsi [-p PERIODS] [-u HIGH] [-l LOW] [--spy] [--no_bench] [--no_short]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| periods | Number of periods for RSI calculation | 14 | True | None |
| high | High (upper) RSI Level | 70 | True | None |
| low | Low RSI Level | 30 | True | None |
| spy | Flag to add spy hold comparison | False | True | None |
| no_bench | Flag to not show buy and hold comparison | False | True | None |
| shortable | Flag that disables the short sell | True | True | None |