Closed chartviewer closed 11 months ago
you are most likely running into an issue that yahoo now requires GDPR consent, which cannot be scripted. i have pushed a patch that will give a better error message. if you would like to test it:
remotes::install_github("ethanbsmith/quantmod@fix_404_handle_getquote_gdpr_errors")
@chartviewer we don't currently have a fix for this, because it's not clear how to programmatically consent to GDPR. More information is in the comments of #382.
Description
The command getQuote("AAPL") throws the error "Error in open.connection(con, "rb") : HTTP error 404". Any chance to fix that? Thanks a lot! Thorsten
Expected behavior
I would expect to get a dataframe containing the most recent quote from yahoo as the default src
Minimal, reproducible example
Session Info