--001485f6c2fa482d1b046be859e1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi all,
I wanted to write a program that request stock quotes say every second. So I
started to write a thread like this:

  require 'rubygems'
  require 'yahoofinance'

  threadread.new do
    YahooFinance::get_historical_quotes_days( 'goog', 10 ) do |row|
      puts "YHOO,#{row.join(',')}"
    end
  end

When I run this I don't get any results. Which is really weird. Got all the
gems and so on.
But when I do the same code run in IRB it works! without any surprises. I
don't get it. Really.

Thanks for any help.

Chris

--001485f6c2fa482d1b046be859e1--