Finance::Quote::Yahoo::USA - Obtain information about stocks and funds in the USA and Canada.
use Finance::Quote; $q = Finance::Quote->new; %info = $q->fetch("usa","SGI");
This method provides access to financial information from a number of exhcanges in the United States and Canada. The following methods are available:
canada usa yahoo nyse nasdaq vanguard fidelity
These methods all use the same information source, and hence can be considered somewhat interchangable. However, the method "yahoo" should be passed to fetch if you wish to obtain information from any source that Yahoo tracks.
This method is loaded by default by Finance::Quote, although it can be explicitly loaded by passing the argument "Yahoo::USA" to Finance::Quote->new().
Information returned by this module may be subject to Yahoo's terms and conditions. See http://finance.yahoo.com/ for more information.
This module returns all the standard labels that Yahoo provides, as well as the currency label. See Finance::Quote::Yahoo::Base for more information.
Yahoo does not make a distinction between the various exchanges in the United States and Canada. For example, it is possible to request a stock using the "NYSE" method and still obtain data even if that stock does not exist on the NYSE but exists on a different exchange.
Yahoo Finance, http://finance.yahoo.com/
Finance::Quote::Yahoo::Base
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.