Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add weighted moving average #29

Open
naman1901 opened this issue Mar 2, 2018 · 1 comment
Open

Add weighted moving average #29

naman1901 opened this issue Mar 2, 2018 · 1 comment

Comments

@naman1901
Copy link

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

@jealous
Copy link
Owner

jealous commented Jan 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants