1 Import stock prices of your choice

GOOG (Google), GME (GameStop), NVDA (NVIDIA), and V (Visa)

2 Convert prices to returns by quarterly

## # A tibble: 80 × 3
##    asset date        returns
##    <chr> <date>        <dbl>
##  1 GOOG  2012-03-30 -0.0370 
##  2 GOOG  2012-06-29 -0.100  
##  3 GOOG  2012-09-28  0.263  
##  4 GOOG  2012-12-31 -0.0645 
##  5 GOOG  2013-03-28  0.116  
##  6 GOOG  2013-06-28  0.103  
##  7 GOOG  2013-09-30 -0.00508
##  8 GOOG  2013-12-31  0.246  
##  9 GOOG  2014-03-31 -0.00506
## 10 GOOG  2014-06-30  0.0323 
## # ℹ 70 more rows

3 Make plot

4 Interpret the plot

A typical quarterly return is higher for GME than it is for GOOG, NVDA, and V. V, NVDA, and GOOG have a peak, but GME has remained constant.

5 Change the global chunck options

Hide the code, messages, and warnings