11 Feb 2020 - Roberto Lambert
In the image below, the 5 FAANG stocks are plotted from May 2012. In order to better see the trends, the stock data is passed through a filter to remove some of the noise. The resulting plot (denoted as filtered in plot legend) shows more clearly the trends of each stock.
The code to generate the data is available here
This is an interactive plot. With the mouse cursor over the plot, a menu with 3 buttons appears on the lower left.
By zooming in to a specific time frame, one can better view the gains or losses for a specific stock.