Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 39467
Status: resolved
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: eco [...] ecocode.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: from sourceforge : AMFIIndia codes dont work
Using the Finance:Quote module with GnuCash; The indiamutual / amfiindia requires codes to be used as per codes at http://amfiindia.com/downloadnavopen.asp. These dont work. === C:\Program Files\gnucash\bin>perl gnc-fq-dump amfiindia 103883 Finance::Quote fields Gnucash uses: symbol: 103883 (deduced) <=== required date: ** missing ** <=== required currency: ** missing ** <=== required last: <=\ nav: <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! === Posted by: Divakar (qdiv@hotmail.com) Submitted By: Nobody/Anonymous - nobody Date Submitted: 2008-03-13 19:13
From: Ajay M
There is a duplicate of this bug #34171.
Subject: patch
From: Ajay M
Before applying patch... $ gnc-fq-dump amfiindia 100470 Finance::Quote fields Gnucash uses: symbol: 100470 (deduced) <=== required date: 10/24/2008 <=== required currency: INR <=== required last: <=\ nav: 23.0097 <=== one of these price: <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% After applying patch... $ gnc-fq-dump amfiindia 100470 Finance::Quote fields Gnucash uses: symbol: 100470 <=== required date: 10/24/2008 <=== required currency: INR <=== required last: <=\ nav: 23.0097 <=== one of these price: <=/ timezone: <=== optional
--- IndiaMutual.orig.pm 2008-10-26 01:40:37.000000000 +0530 +++ IndiaMutual.pm 2008-10-26 02:32:51.000000000 +0530 @@ -77,6 +77,7 @@ close(NAV); foreach my $symbol (@symbols) { + $fundquote{$symbol, "symbol"} = $symbol; $fundquote{$symbol, "currency"} = "INR"; $fundquote{$symbol, "source"} = $AMFI_MAIN_URL; $fundquote{$symbol, "link"} = $url;
thanks, patch applied -- Erik