I have published a yahoo stock gem. The gem provides an interface to yahoo finance to get stock related data. For instance, latest trade related data, volume, 50 day moving average, market cap, stock history, etc. There is a blog post about the gem here :http://nasir.wordpress.com/2009/10/28/ruby-gem-for-finance-data The gem is here: http://github.com/nas/yahoo_stock