yahoo_finance.rb

USAGE

This library is useful to download and manipulate Financial indexes, stocks, quote data from the Yahoo web site

Examples

#!/usr/bin/env ruby
require 'yahoo_finance'
symbol = "FIA.MI" 
p YahooSymbol.new( symbol ).getQuote


#!/usr/bin/env ruby
require 'yahoo_finance'
index = ARGV[0] || "^DJI"
YahooIndex.new( index ).getSymbols.each { |s|
p s.getQuote['Symbol']
}

INSTALLATION

Copy this file in the rubylib directory (for example "/usr/lib/ruby/1.6")

REQUIREMENTS

I've tested this library with a Debian Linux 3.0 and

HISTORY

AUTHOR

E-MAIL: matteo.redaelli@libero.it

WEB: http://digilander.iol.it/reda

LICENSE

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".

The C library at the core of this Perl module can additionally be redistributed and/or modified under the terms of the "GNU Library General Public License".

DISCLAIMER

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the "GNU General Public License" for more detail