I am currently facing a problem regarding the pulling of data in R. With the getSymbols() function I can already obtain data for each Dow Jones company.
for example this gives me the data for apple from a chosen start_date until end_date:
'getSymbols("AAPL", src = "yahoo", from = start_date, to = end_date'
However I would somehow like to pull the data for all 30 companies. I dont want to do every company manually, so I was wondering if there is any way to pull the data all at once. So far I have not found any information regarding my problem.
I would be very thankfull for any help.