Closed mcfsalla closed 3 years ago
I can replicate this if I interrupt a getDividends()
call. All calls after that throw the error.
Use this code to remove the handle manually until there's a fix:
rm("_handle_", envir = quantmod:::.quantmodEnv)
Tried that and got this: "Error in curl::curl_fetch_memory(query.srv, handle = h$ch) : Timeout was reached: [query2.finance.yahoo.com] Operation timed out after 10001 milliseconds with 0 out of 0 bytes received"
I spent some time investigating this morning. This is similar to #307. The fix is similar. I'll refactor the code so getSymbols()
, getDividends()
, and getSplits()
use the same code to retry the download.
Description
getDividends keep producing error messages like "Error in open.connection...: Handle is already in use elsewhere."
Expected behavior
A time series of dividends
Minimal, reproducible example
Session Info