facioquo/stock-indicators-python

ROC is missing `Momentum` return value

hmuhdkamran opened this issue · 3 comments

The problem

in indicator roc.py has missing momentum, you should add the following lines in it

Error message(s):

    @property
    def momentum(self) -> Optional[float]:
        return self._csdata.Momentum

    @momentum.setter
    def roc_sma(self, value):
        self._csdata.Momentum = value

@LeeDongGeon1996 do you want to sneak this into your next release?

@hmuhdkamran Thank you for reporting. I'll include this feature in this release.

This was implemented in v1.2.1