CV = n-day trading volume of stock price in n days;
CVS = n-day ∑ cv
So cvs = _mov_sum(self['volume'], window) but not cvs = self._mov_sum(pd.Series(eq_zero, index=idx), window)
I don't think there is a reason to look at 'change'==0 cases as they are quite rare.
According to https://help.eaglesmarkets.com/hc/en-us/articles/900002867026-Summary-of-volume-variation-index
CV = n-day trading volume of stock price in n days; CVS = n-day ∑ cv
So cvs = _mov_sum(self['volume'], window) but not cvs = self._mov_sum(pd.Series(eq_zero, index=idx), window) I don't think there is a reason to look at 'change'==0 cases as they are quite rare.