For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
It seems a bug("RateOfChange100") in momentum.py, which doesn't pass period value to ROC
-
I reviewed the code("RateOfChange100") and found it doesn't pass period to ROC.
def __init__(self): self.l.roc100 = 100.0 * ROC(self.data) # not pass period to ROC super(RateOfChange100, self).__init__()
Correct it:
def __init__(self): self.l.roc100 = 100.0 * ROC(self.data, period=self.p.period) super(RateOfChange100, self).__init__()
If there is anything I misunderstand, pls feel free to let me know.
-Le -
Release 1.9.63.122