In the process of getting price data from Yahoo Finance, sometimes a ticker is missing. In that case, I get the error HTTP.ExceptionRequest.StatusError
How do I handle this error such that, when it occurs, I can continue my script (in my case, go to the next ticker in my list of tickers)?
To get an idea of what I am trying to do …
if iserror(HTTP.get(address)) == false
do stuff
else
next
end