stockstats icon indicating copy to clipboard operation
stockstats copied to clipboard

Add weighted moving average

Open naman1901 opened this issue 6 years ago • 1 comments

A weighted moving average is calculated as x = (n*Ct + (n-1)Ct-1 + ... + 1Ct-n) / (n+n-1+n-2+...+1)

naman1901 avatar Mar 02 '18 18:03 naman1901

How do you plan to pass in the weight for each item?

jealous avatar Jan 01 '22 11:01 jealous