1 Import stock prices of your choice

2 Convert prices to returns by quarterly

## # A tibble: 60 × 3
##    asset date        returns
##    <chr> <date>        <dbl>
##  1 WMT   2012-03-30  0.0210 
##  2 WMT   2012-06-29  0.137  
##  3 WMT   2012-09-28  0.0623 
##  4 WMT   2012-12-31 -0.0729 
##  5 WMT   2013-03-28  0.0988 
##  6 WMT   2013-06-28  0.00143
##  7 WMT   2013-09-30 -0.00109
##  8 WMT   2013-12-31  0.0678 
##  9 WMT   2014-03-31 -0.0227 
## 10 WMT   2014-06-30 -0.0118 
## # ℹ 50 more rows

3 Make plot

4 Interpret the plot

Within Target and Walmart, they are both very even through each quarter when it comes to returns. They both have a decently even curve to follow. As for Costco, there quarterly returns are all over the place going from almost the lowest frequency to jumping to a mid-level frequency, back to a lower level, to the highest level possible. If reading the chart properly, it seems that Costcos quarter 3 brings in the most returns out of all three companies.

5 Change the global chunck options

Hide the code, messages, and warnings