Files
OpenBB/website/content/stocks/backtesting/rsi/_index.md
DidierRLopes 595a94faf6 Updated Hugo Server (#752)
* Push some changes towards updated Hugo Server

* More hugo server refactoring

* Update Hugo Server website with stock context and economy context

* Small bugs fixes

* Add ETF, options and PO to Hugo Server

* More bugfixes

* Add crypto hugo server

* Improve docs

* merge bugs fixed
2021-09-16 18:43:42 +01:00

1.1 KiB
Executable File
Vendored

usage: rsi [-p PERIODS] [-u HIGH] [-l LOW] [--spy] [--no_bench] [--no_short] [--export {csv,json,xlsx}] [-h]

Strategy that buys when the stock is less than a threshold and shorts when it exceeds a threshold.

optional arguments:
  -p PERIODS, --periods PERIODS
                        Number of periods for RSI calculation (default: 14)
  -u HIGH, --high HIGH  High (upper) RSI Level (default: 70)
  -l LOW, --low LOW     Low RSI Level (default: 30)
  --spy                 Flag to add spy hold comparison (default: False)
  --no_bench            Flag to not show buy and hold comparison (default: False)
  --no_short            Flag that disables the short sell (default: True)
  --export {csv,json,xlsx}
                        Export dataframe data to csv,json,xlsx file (default: )
  -h, --help            show this help message (default: False)

rsi rsi2