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

Where did 50_day_moving_avg column come from ?? #5

Closed
HanyHossny opened this issue Jan 16, 2018 · 1 comment
Closed

Where did 50_day_moving_avg column come from ?? #5

HanyHossny opened this issue Jan 16, 2018 · 1 comment

Comments

@HanyHossny
Copy link

How did you calculate the columns (50_day_moving_avg, 10_day_volatility)? Did you extract them from the standard four columns (open, close, high, low) by any means?

@scorpionhiccup
Copy link
Owner

Hi @HanyHossny, we had calculated 50_day_moving_avg by calculating rolling_mean over 50 days using the package pandas. I don't have the script for the same but you can easily write the same. Have a look at this stackoverflow question to get a rough idea.

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

No branches or pull requests

2 participants