1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 115 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 AAPL  2020-03-31 -0.164 
##  2 AAPL  2020-06-30  0.364 
##  3 AAPL  2020-09-30  0.241 
##  4 AAPL  2020-12-31  0.138 
##  5 AAPL  2021-03-31 -0.0813
##  6 AAPL  2021-06-30  0.116 
##  7 AAPL  2021-09-30  0.0341
##  8 AAPL  2021-12-31  0.229 
##  9 AAPL  2022-03-31 -0.0155
## 10 AAPL  2022-06-30 -0.243 
## # ℹ 105 more rows

3 Make plot

4 Interpret the plot

Typical quarterly returns are higher for MSFT, TSLA, and JPM compared to NKE and AAPL returns. TSLA has the highest range of quarterly returns from around -0.8 to around 0.75. JPM is the most consistent at giving positive returns.

5 Change the global chunck options

Hide the code, messages, and warnings