David Hampton > Finance-Quote-1.13 > Finance::Quote::FinanceCanada

Download:
Finance-Quote-1.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  16
Stalled  1
View Bugs
Report a bug
Source   Latest Release: Finance-Quote-1.17

NAME ^

Finance::Quote::FinanceCanada - Obtain stock and mutual fund prices from finance.canada.com

SYNOPSIS ^

    use Finance::Quote;

    $q = Finance::Quote->new;

    # Can failover to other methods
    %quotes = $q->fetch("canada", "stock_fund-code");
    
    # Use this module only
    %quotes = $q->fetch("financecanada", "stock_fund-code");

DESCRIPTION ^

This module obtains information about Canadian Stock and Mutual Funds from finanace.canada.com. The information source "canada" can be used if the information source is unimportant, or "financecanada" to specifically use finance.canada.com.

STOCK_FUND-CODE ^

Canadian stocks/mutual funds do not have a unique symbol identifier. This module uses the symbols as used on finance.canada.com. The simplest way to fetch the ID for a particular stock/fund is to go to finance.canada.com, search for your particular stock or mutual fund, and note the symbol ID. This is helpfully provided by the site in their returned HTML quote.

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://finance.canada.com/

Finance::Quote