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 | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
periods | -p --periods | Number of periods for RSI calculation | 14 | True | None |
high | -u --high | High (upper) RSI Level | 70 | True | None |
low | -l --low | Low RSI Level | 30 | True | None |
spy | --spy | Flag to add spy hold comparison | False | True | None |
no_bench | --no_bench | Flag to not show buy and hold comparison | False | True | None |
shortable | --no_short | Flag that disables the short sell | True | True | None |