-
Notifications
You must be signed in to change notification settings - Fork 4
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
BatchGetSymbols: Error in download #27
Comments
Also downloading errors with following output from the vignette example:
|
The issue is due to a call to quantmod::getSymbols(), likely a change in yahoo finance api. |
See issue in quantmod |
Installing
|
Thanks a lot !! |
See my reply here |
── Running yfR for 1 stocks | 2022-04-04 --> 2022-05-04 (30 days) ── ℹ Downloading data for benchmark ticker ^GSPC |
The code is working fine here. Make sure you update all your packages including quantmod:
── Running yfR for 1 stocks | 2022-04-05 --> 2022-05-05 (30 days) ── ℹ Downloading data for benchmark ticker ^GSPC |
Btw, please use the correct repo next time. This one is for BatchGetSymbols (and not yfR). |
Many thanks all! I will check it carefully. |
Sorry to bother you again,I've tried updating the quantmod package, but I'm still failing, which seems to be because I don't have access to yahoo. I checked the script of the package, the package accessed:(http://query2.finance.yahoo.com/), the problem is that I can't access:(http://query2.finance.yahoo.com/),I checked the engineer's answer: From November 1, 2021, users will not be able to use Yahoo's products and services from mainland China. This does not affect Yahoo's products and services elsewhere in the world. We thank you for your continued support. In addition, I have an unkind request, I don't know if you could help me download the data set, the code that can be executed to get the data is: Anyway, I am very grateful to you for answering my confusion, if you can help me, Please send the data to my email: wangcongyuan@gamil.com or vitally@hdu.edu.cn,Thanks! |
Sorry to bother you that I meet an issue like Yuanyuan77-wang. |
Thanks for letting me know about china's restriction. This was news to me. As for the data, please send me an email (marceloperlin@gmail.com) and I'll reply with the data. |
All data is imported using quantmod::getSymbols(). You should check with its author which api endpoint is being queried. |
OK, thanks |
@msperlin Thanks for your time! I have emailed you.Anticipated you reply. |
The function with snippet below was working very reliably, but now not working anymore at all.
I tried with several symbols to no success. Also tried your new package "fyR" - same result, that is none.
Any idea?
Snippet:
start_lng <- '2019-01-01'
list_yahoo_out <- BatchGetSymbols(c('BZ=F','NG=F', 'EURUSD=X', 'TTF=F'), first.date=start_lng, last.date=Sys.Date())
The text was updated successfully, but these errors were encountered: