I have a(nother) question concerning exception handling.
My code retrieves stock data from yahoo like this.
tickers = File.new("/home/nigels/financials/symbols")
tickers.each_line do |ticker|
quotes = YahooFinance::get_standard_quotes( ticker )
quotes.each do |symbol, qt|
Occasionally, yahoo will drop requests which results in timeout
exceptions. I would like to “catch” the exception and simply continue
with the next ticker.
Thanks for your help.