1 Import stock prices of your choice

Nvidia, Netflix, Tesla, Microsoft, and Apple

2 Convert prices to returns by quarterly

## # A tibble: 80 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 NVDA  2012-03-30  0.0925
##  2 NVDA  2012-06-29 -0.108 
##  3 NVDA  2012-09-28 -0.0353
##  4 NVDA  2012-12-31 -0.0780
##  5 NVDA  2013-03-28  0.0516
##  6 NVDA  2013-06-28  0.0952
##  7 NVDA  2013-09-30  0.108 
##  8 NVDA  2013-12-31  0.0345
##  9 NVDA  2014-03-31  0.116 
## 10 NVDA  2014-06-30  0.0392
## # … with 70 more rows

3 Make plot

4 Interpret the plot

The plots show that Nvidia had the highest monthly returns when compared to Apple, Netflix, Microsoft and Tesla. Apple seems to have the most consistent monthly returns, which is just as important to note. None of these five companies are doing particularly bad either.

5 Change the global chunck options

Try to hide the messages, warnings and other codes