Hi Guys I'm fairly new to R and tried to look at past examples of tryCatch and I was sadly not able to understand it and apply it to my problem.
So I have the following code
for(i in context.stocks){
B = as.zoo(av_get(symbol = i, av_fun = "TIME_SERIES_INTRADAY", interval = "1min", outputsize = "full"))
A =merge.zoo(A,B)
Where context.stocks is a large list (497 values) of tickers, some of which cause errors with the data-call and I'd like the loop to continue even if there is an error with one of the tickers.
Thank you very much for your help!