-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Quantmode Yahoo getSymbols broken ? #202
Comments
Cannot reproduce using the latest version on CRAN.
As requested in the issue template, please provide the output from |
Attached is the output
|
Getting the same error when I upgraded to 3.4.2 version. > getSymbols("CSCO",from="2017-01-25")
Warning: CSCO download failed; trying again.
Error: CSCO download failed after two attempts. Error message:
HTTP error 400.
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.1
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] boot_1.3-20 quantmod_0.4-11 TTR_0.23-2 xts_0.10-0 zoo_1.8-0
loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2 curl_2.8.1 grid_3.4.2 lattice_0.20-35 |
Has the same issue when calling getSymbols.yahoo()
My session info
|
It seems like yahoo intentionally blocked the request. and also when using getQuote(),
|
I also get the same error as of this morning, 2017-11-30. You can access historical data on their web without any problems. Yahoo Finance
|
It works for me here. To @goodcheer 's point, I almost never use Yahoo data, so I wouldn't get flagged as an offender worthy of blocking. |
Thanks for the report. I could replicate this morning. The problem is that the "to" date was being formatted incorrectly in the request URL because it was being converting to character in scientific notation. R> as.character(unclass(as.POSIXct("2017-11-30","UTC")))
[1] "1.512e+09" This should be fixed in the |
Note that you can work around the issue by setting |
When will the next release with this bug fix come out ??? this needs to be fixed, as the following fails :(Date is in IST)
it works fine for other dates , these special dates needs to be handled in the new release |
Hi! getSymbols is failing when pulling multiple quotes, but not when doing it individually. I tried using the Not sure if this belongs to the same issue.
|
I have the exact same issue when I trying to pull multiple data, it always fails at the same position, but it works 1 out of 3 times
|
Yahoo getSymbols is failing since this morning. was working until last night
Using R 3.3.3 version so thought it would resolve HTTP / HTTPS issue.
Please advise.
The text was updated successfully, but these errors were encountered: