My data contains the closing prices of 10 shares of the S&P 500 index.
Data :
> dput(head(StocksData)) structure(list(ACE = c(56.86, 56.82, 56.6