ema
Strategy where stock is bought when Price EMA(l)
Usage
ema [-l LENGTH] [--spy] [--no_bench]
Parameters
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
length | -l | EMA period to consider | 20 | 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 |