1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 174 × 3
##    asset date       returns
##    <chr> <date>       <dbl>
##  1 MU    2012-01-31  0.117 
##  2 MU    2012-02-29  0.118 
##  3 MU    2012-03-30 -0.0541
##  4 MU    2012-04-30 -0.206 
##  5 MU    2012-05-31 -0.121 
##  6 MU    2012-06-29  0.0774
##  7 MU    2012-07-31 -0.0160
##  8 MU    2012-08-31  0     
##  9 MU    2012-09-28 -0.0377
## 10 MU    2012-10-31 -0.0965
## # ℹ 164 more rows

3 Make plot

4 Interpret the plot

Micron Technology (MU): Highly cyclical semiconductor stock. It suffers deep losses during chip down-cycles but experiences massive, sharp rebounds driven by surging demand for memory and AI hardware.

CrowdStrike (CRWD): High-beta growth cybersecurity stock. It shows high volatility with steep pullbacks during market corrections, balanced by powerful, high-return surges as cloud security demand grows.

Palo Alto Networks (PANW): A more mature and stable enterprise cybersecurity leader. It experiences fewer extreme swings, offering steadier, more resilient quarterly performance over time.

5 Change the global chunck options

Hide the code, messages, and warnings