Skip to main content

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

NameParameterDescriptionDefaultOptionalChoices
periods-p --periodsNumber of periods for RSI calculation14TrueNone
high-u --highHigh (upper) RSI Level70TrueNone
low-l --lowLow RSI Level30TrueNone
spy--spyFlag to add spy hold comparisonFalseTrueNone
no_bench--no_benchFlag to not show buy and hold comparisonFalseTrueNone
shortable--no_shortFlag that disables the short sellTrueTrueNone

On this page