DOKK / manpages / debian 12 / libfinance-quote-perl / Finance::Quote::Cdnfundlibrary.3pm.en
Finance::Quote::Cdnfundlibrary(3pm) User Contributed Perl Documentation Finance::Quote::Cdnfundlibrary(3pm)

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

    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

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/

Finance::Quote

2023-05-14 perl v5.36.0