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

NameDescriptionDefaultOptionalChoices
periodsNumber of periods for RSI calculation14TrueNone
highHigh (upper) RSI Level70TrueNone
lowLow RSI Level30TrueNone
spyFlag to add spy hold comparisonFalseTrueNone
no_benchFlag to not show buy and hold comparisonFalseTrueNone
shortableFlag that disables the short sellTrueTrueNone

On this page