Finance::Quote::Cdnfundlibrary - Obtain mutual fund prices from www.fundlibrary.com
$q = Finance::Quote->new;
%stockinfo = $q->fetch("canadamutual","fundlib-code"); # Can
failover to other methods
%stockinfo = $q->fetch("fundlibrary","fundlib-code"); # Use this
# NOTE: currently no failover methods exist for canadamutual
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.
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.
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.
Fundlibrary website - http://www.fundlibrary.com/
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.