Finance::Quote::Cdnfundlibrary.3pm

Langue: en

Autres versions - même langue

Version: 2005-11-18 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Finance::Quote::Cdnfundlibrary - Obtain mutual fund prices from www.fundlibrary.com

SYNOPSIS

     use Finance::Quote;
 
     $q = Finance::Quote->new;
 
     %stockinfo = $q->fetch("canadamutual","fundlib-code"); # Can
 failover to other methods
     %stockinfo = $q->fetch("fundlibrary","fundlib-code"); # Use this
 module only.
 
     # NOTE: currently no failover methods exist for canadamutual
 
 

DESCRIPTION

This module obtains information about Canadian Mutual Fund prices from www.fundlibrary.com. The information source ``canadamutual'' can be used if the source of prices is irrelevant, and ``fundlibrary'' if you specifically want to use www.fundlibrary.com.

FUNDLIB-CODE

In Canada a mutual fund does not have a unique global symbol identifier.

This module uses an id that represents the mutual fund on an id used by www.fundlibrary.com. There is no easy way of fetching the id except to jump onto the fundlibrary website, look up the fund and view the url for clues to its id number.

LABELS RETURNED

Information available from fundlibrary may include the following labels:

exchange method link source name currency yield last nav price. The link label will be a url location for a one page snapshot that fundlibrary provides on the fund.

SEE ALSO

Fundlibrary website - http://www.fundlibrary.com/

Finance::Quote