mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 04:13:06 +00:00
* fix(docs): added margin between sections * fix: images * readd old content for examples/images * fix: codespell * fix: codespell * fix: ga * fix: remove temp lorem ipsum * fix: docu config for edit page Co-authored-by: teh_coderer <me@tehcoderer.com>
781 B
Vendored
781 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
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 |