Finance::Quote::IndiaMutual - Obtain Indian mutual fund prices from amfiindia.com
use Finance::Quote; $q = Finance::Quote->new; %stockinfo = $q->fetch("indiamutual", "amfiindia-code"); # Can failover to other methods %stockinfo = $q->fetch("amfiindia", "amfiindia-code"); # Use this module only. # NOTE: currently no failover methods exist for indiamutual
This module obtains information about Indian Mutual Fund prices from the Association of Mutual Funds India website amfiindia.com. The information source "indiamutual" can be used if the source of prices is irrelevant, and "amfiindia" if you specifically want to use information downloaded from amfiindia.com.
In India 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 amfiindia.com. You can the fund is from the AMFI web site http://amfiindia.com/downloadnavopen.asp.
Information available from amfiindia may include the following labels:
method link source name currency nav rprice sprice. The link label will be a url location for the NAV list table for all funds.
amfiindia.com provides a link to download a text file containing all the NAVs. This file is mirrored in a local file /tmp/amfinavlist.txt. The local mirror serves only as a cache and can be safely removed.
Currently NAVs of Open-Ended funds are supported.
AMFI india website - http://amfiindia.com/
Finance::Quote
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.