hi. I have a quick question. I have a FOR cycle in R to query certain stocks data through the package and when I run it, it goes well for a while but at a quite random place I get the following error msg: Error in curl::curl_fetch_memory(url, handle = handle) : Send failure: Connection was reset.
hi. I have a quick question. I have a FOR cycle in R to query certain stocks data through the package and when I run it, it goes well for a while but at a quite random place I get the following error msg: Error in curl::curl_fetch_memory(url, handle = handle) : Send failure: Connection was reset.
that's my code basically: for (i in 1:N){
daily_data<-av_get(symbol = mysymbol_list[i,1]), av_fun = "TIME_SERIES_DAILY", outputsize = "full") }
not sure whether it is an internet connection problem or server or what. Any help appreciated.