-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with getSymbols #346
Comments
Have you updated to the latest development version? This should have been fixed in #333. |
Hi, |
0.4.18 is the latest on CRAN. The latest development version is 0.4.18.1. |
Hi, just to let everyone know that the issue has been fixed in quantmod Kind regards, |
Thanks for following up! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
For about two weeks I have been trying to download stock prices from Yahoo Finance using "getSymbols" in quantmod, and for many many stock prices I get the following error message
Warning: Unable to import “UNH”.
argument "conn" is missing, with no default
where UNH is just one of the tickers I get the error message above
Expected behavior
This error should not appear, and the stock prices should be obtainable.
Minimal, reproducible example
For example, the code I am running is
window = 2000
first.date = Sys.Date() - window
last.date = Sys.Date()
freq.data = 'daily'
tickers = c("^GSPC","ACN","BABA","GOOGL","BRK-B","UNH")
data.stocks = getSymbols(tickers, from = first.date, to = last.date, periodicity = "daily")
BRK.B = get("BRK-B")
data = cbind(Cl(GSPC),Cl(ACN),Cl(BABA),Cl(GOOGL),Cl(BRK.B),Cl(UNH))
Kind regards,
rabarros01
The text was updated successfully, but these errors were encountered: