Skip to main content

ema

Strategy where stock is bought when Price EMA(l)

Usage

ema [-l LENGTH] [--spy] [--no_bench]

Parameters

NameParameterDescriptionDefaultOptionalChoices
length-lEMA period to consider20TrueNone
spy--spyFlag to add spy hold comparisonFalseTrueNone
no_bench--no_benchFlag to not show buy and hold comparisonFalseTrueNone

On this page