1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 12 × 3
## # Groups:   asset [3]
##    asset data        returns
##    <chr> <date>        <dbl>
##  1 SOXX  2022-03-31 -0.154  
##  2 SOXX  2022-06-30 -0.301  
##  3 SOXX  2022-09-30 -0.0871 
##  4 SOXX  2022-12-30  0.0906 
##  5 TKR   2022-03-31 -0.126  
##  6 TKR   2022-06-30 -0.129  
##  7 TKR   2022-09-30  0.112  
##  8 TKR   2022-12-30  0.184  
##  9 VTV   2022-03-31  0.00575
## 10 VTV   2022-06-30 -0.107  
## 11 VTV   2022-09-30 -0.0591 
## 12 VTV   2022-12-30  0.136

3 Make plot

4 Interpret the plot

VTV is a market index fund, so it has much less return volatility. TKR & SOXX are much more frequently creating negative returns over 2022 because of geopolitical tensions in the energy and technology sectors caused by the Russia-Ukraine conflict.