Finance::Quote for Indian Mutual Fund NAvs

Derek Atkins warlord at MIT.EDU
Fri Apr 11 10:11:04 EDT 2008


Hi,

Divakar Ramachandran <divakar07 at dataone.in> writes:

> I am replying to my own post - Guess no one else with Indian Mutual
> Funds is using GnuCash!
>
> The problem turned out to be quite simple:
>
> The perl module IndiaMutual.pm has a line
>
>             $AMFI_NAV_LIST = "/tmp/amfinavlist.txt"
>
> and (this is on WinXP) I do not have a /tmp path. Changing the line to
>
>             $AMFI_NAV_LIST = "/temp/amfinavlist.txt"
>
> solves the problem. I know this is a Perl thing and not directly related
> to gnuCash, but amposting anyway with hope that it is useful.
>
> Best wishes,
> Div.

you might want to send this information to the F::Q list.

> On Sun, 2008-03-16 at 22:53 +0530, Divakar Ramachandran wrote:
>> Hi,
>> 
>> I would like to know if anybody is successfully using finance::quote for
>> getting Indian Mutual Fund NAVs, and if so what unique symbols they have
>> used to identify funds. As per the CPAN.org man page for Finance::Quote,
>> the two sources for Indian Mutual Fund NAVs are amfiindia and
>> indiamutual, which get the NAVs based on IDs used by AMFI India on their
>> website at http://amfiindia.com/downloadnavopen.asp.
>> 
>> I have used the following command that does not yield the NAVs:
>>        perl gnc-fq-dump amfiindia nnnnnn
>> 
>> where nnnnnn is one of the index numbers listed. One example is 103883
>> which corresponds to SBI Mutual Fund Magnum Tax Gain Scheme Dividend. I
>> have also tried many other IDs listed on the page and none of them have
>> worked.
>> 
>> The following works on the same system yielding the correct stock price:
>>        perl gnc-fq-dump yahoo TCS.NS
>>        perl gnc-fq-dump yahoo MSFT
>> 
>> So, is this a Finance::Quote bug? Or, has something changed in the way
>> GnuCash parses the info / AMFI provides the data (AMFI has so far not
>> responded to my query posted on their web contact page)? Or, am I doing
>> it totally wrong way?
>> 
>> Best Wishes to all,
>> Divakar
>> 
>> 
>> Divakar R
>> Anupuram, TN 603127, INDIA

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list