I wanted to write a program that request stock quotes say every second.
started to write a thread like this:
YahooFinance::get_historical_quotes_days( ‘goog’, 10 ) do |row|
When I run this I don’t get any results. Which is really weird. Got all
gems and so on.
But when I do the same code run in IRB it works! without any surprises.
don’t get it. Really.
Thanks for any help.