[R] How to use getSymbols() to get annual data
Yingrui Liu
yliu206 at jhu.edu
Sat Sep 2 01:37:42 CEST 2017
Dear Sir/Madam,
How to use getSymbols() to get annual data? For example, I need the annual stock price of APPLE from the year 2000 to 2016. How to write the command? I only know how to get the daily data. It is:
getSymbols("AAPL",from="2000-01-01",to="2016-12-31")
Thank you very much.
Have a good week!
Best regards,
Yingrui Liu
[[alternative HTML version deleted]]
More information about the R-help
mailing list