1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 100 × 3
##    asset date        returns
##    <chr> <date>        <dbl>
##  1 CVX   2012-03-30 -0.0214 
##  2 CVX   2012-06-29 -0.00712
##  3 CVX   2012-09-28  0.108  
##  4 CVX   2012-12-31 -0.0664 
##  5 CVX   2013-03-28  0.102  
##  6 CVX   2013-06-28  0.00398
##  7 CVX   2013-09-30  0.0346 
##  8 CVX   2013-12-31  0.0360 
##  9 CVX   2014-03-31 -0.0404 
## 10 CVX   2014-06-30  0.102  
## # … with 90 more rows

3 Make plot

4 Interpret the plot

From this plot I can take away that, per quarterly average, the NDAQ has the highest return. Now, if you were a risky investor and were going for super high return with high risk, you would want to GOLD. Gold has the highest quarterly return, yet it also has the lowest return as well. For investors who take on less risk, their best option based of these plots would be the NDAQ.

5 Change the global chunck options

Hide the code, messages, and warnings