Skip to content
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

getQuote Yahoo Error 404 #386

Closed
craigp67 opened this issue May 24, 2023 · 4 comments
Closed

getQuote Yahoo Error 404 #386

craigp67 opened this issue May 24, 2023 · 4 comments

Comments

@craigp67
Copy link

When using getQuote from yahoo today, I started to get a 404 error (instead of the 401 error) we'd been getting.

[Describe the issue]

I expected to get a df from get Quote but got the error message shown below instead.

df <- getQuote(QuoteSymbols, src = "yahoo", what=yahooQF(QuoteAttr))
Error in open.connection(con, "rb") : HTTP error 404

Am using Ethan's patch i.e.

packageVersion("quantmod")
[1] ‘0.4.22.1’

Seems like another user, Giovanni, also had this issue and added to the thread of the getQuote Yahoo Error 401 issue.

I tried going back to the CRAN quantmod version 0.4.22 but that just gave the 401 error again instead.

@AlessandroManilii
Copy link

Same problem in same conditions reported by @craigp67.

@tian-y
Copy link

tian-y commented May 31, 2023

Same issue for me.

@tian-y
Copy link

tian-y commented Jun 6, 2023

I found a workaround from the thread on the 401 error #382
Thanks to @theinvestmentbox

remotes::install_github("ljupch0/yfinance")
yfinance::get_price()

@joshuaulrich
Copy link
Owner

This is a duplicate of #382 and was fixed in #383.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants