Finance::Quote::FinancUseraContributed Perl DoFinance::Quote::FinanceCanada(3)NAMEFinance::Quote::FinanceCanada - Obtain stock and fund prices from
www.financialpost.com
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
# Can failover to other methods
%quotes = $q->fetch("canada", "stock_code");
# Use this module only
%quotes = $q->fetch("financecanada", "stock_code");
DESCRIPTION
This module obtains information about Canadian stocks and funds from
www.financialpost.com. The information source "canada" can be used if
the information source is unimportant, or "financecanada" to
specifically use www.financialpost.com.
STOCK_CODE
Canadian stocks/mutual funds do not have a unique symbol identifier on
www.financialpost.com. For example, the symbol "T" can refer to stock
quotes from either "Telus" on the Toronto Stock Exchange (TOR) or "AT&T
Inc." on NYSE. The simplest way to fetch the ID for a particular
stock/fund is to go to www.financialpost.com, search for your
particular stock/fund, and note the symbol 'id' in the site URL.
Note that www.financialpost.com uses different URLs for stocks and
funds. This module attempts to guess which URL to use based regular
expressions tests on the symbol.
LABELS RETURNED
Information available from financecanada may include the following
labels:
method source name symbol currency date nav last price
SEE ALSO
Finance Canada.com website - http://www.financialpost.com/
Finance::Quote
perl v5.18.1 2013-09-27 Finance::Quote::FinanceCanada(3)