1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 80 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 AMZN  2012-03-30  0.123 
##  2 AMZN  2012-06-29  0.120 
##  3 AMZN  2012-09-28  0.108 
##  4 AMZN  2012-12-31 -0.0137
##  5 AMZN  2013-03-28  0.0604
##  6 AMZN  2013-06-28  0.0412
##  7 AMZN  2013-09-30  0.119 
##  8 AMZN  2013-12-31  0.243 
##  9 AMZN  2014-03-31 -0.170 
## 10 AMZN  2014-06-30 -0.0351
## # … with 70 more rows

3 Make plot

4 Interpret the plot

AMZN has the most consistent returns of the year so far, HD is also relatively consistent, MSFT saw higher returns near the end of their first quarter and through the two following quarters, WMT started strong with the return in their first quarter then dipped slightly before making even higher returns in the last two quarters.

5 Change the global chunck options

Hide the code, messages, and warnings