I've been practicing R for about several months, and have begun transitioning from text book examples to what actually interests me. I'm currently participating in the CFA program, but my programming skills are lackluster. Not asking for code, but a push in the right direction!
I was able to pull the stock data for DJIA, but am having trouble getting a handle on the data. Questions:
- What is the easy way to get a hand on the data?
- How can I quickly write a function to pull daily returns from each 30 XTS Objects -> apply? lapply? Create a new function?
- Should I be focusing on trying to aggregate all price points into one data frame?
Anything else or other resources you might share would be highly beneficial.