Solution: Plotting the Moving Averages
Explore plotting 30-day rolling averages of Encana and CNQ stocks from 2008 and learn to visualize their correlation using heatmaps. This lesson teaches how to apply pandas rolling functions and seaborn heatmap methods for effective stock data analysis.
We'll cover the following...
We'll cover the following...
Task 1: Plotting the moving averages
Analyze the moving averages for these stocks in the year 2008. Then plot the rolling 30-day average against the Close price for Encana and CNQ stocks for 2008. ...