Finance::Quote::FinanceCanada.3pm

Langue: en

Autres versions - même langue

Version: 2005-03-20 (openSuse - 09/10/07)

Section: 3 (Bibliothèques de fonctions)

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