This software retrieves data from WEB and saves as CSV.
Data includes fundamentals such as P/E, P/BV, ROA, ROE,
OPBT, Income and so on; also retrieves the gains for
last 5, 10 days, 1, 3, 6 mnts, 1, 2, 3, 5 yrs [if available].
After generation of CSV make sure the file looks right;
it may not look right if webpage was changed. I used this
script just couple of times.
Requires: rubygems and nokogiri
Source code
require 'rubygems'
require 'nokogiri'
require 'open-uri'
class Company
def initialize(name, url)