On 2023-08-04 at 20:16 EDT, Jim DeLaHunt wrote:
Paras:
On 2023-08-04 06:23, Paras Desai wrote:
So far, Mutual fund is concerned, following is an example of the
fund
1. Axis Special Situation Fund , symbol for fetching price is
INF846K01Y05
Excellent. That is helpful information. Next, try testing quote
retrieval from the command line. If this succeeds, then your problem
is probably inside GnuCash. If this fails, then the problem is
probably with the Finance::Quote software bundled with GnuCash, or
with the data source, or with the configRelauration.
The ISIN "INF846K01Y05" does not exist in the data used by the nseindia
method.
The Finance::Quote module NSEIndia.pm module works by extracting data
from a zipped CSV file retrieved from nseindia.com. Friday's file would
have been
https://archives.nseindia.com/content/historical/EQUITIES/2023/AUG/cm04AUG2023bhav.csv.zip
Reliance and INFY do exist, and F::Q's own example retrieval script will
show (The example scripts are in the tarball CPAN downloads when
installing the F::Q module):
bschuck@valhalla:~/tmp/finance-quote$ ./Examples/stockdump.pl nseindia
INFY RELIANCE
$VAR1 = {
'RELIANCElow' => '2471.6',
'RELIANCEhigh' => '2516',
'INFYexchange' => 'NSE',
'RELIANCElast' => '2508',
'INFYdate' => '08/04/2023',
'RELIANCEmethod' => 'nseindia',
'INFYlast' => '1377.9',
'RELIANCEsuccess' => 1,
'INFYmethod' => 'nseindia',
'RELIANCEcurrency' => 'INR',
'RELIANCEclose' => '2509.55',
'INFYcurrency' => 'INR',
'RELIANCEexchange' => 'NSE',
'RELIANCEdate' => '08/04/2023',
'INFYsymbol' => 'INFY',
'RELIANCEisodate' => '2023-08-04',
'RELIANCEprevclose' => '2475.9',
'RELIANCEsymbol' => 'RELIANCE',
'RELIANCEopen' => '2498.8',
'INFYprevclose' => '1364.3',
'INFYlow' => '1362',
'INFYclose' => '1378.35',
'INFYisodate' => '2023-08-04',
'INFYhigh' => '1385.9',
'INFYsuccess' => 1,
'INFYopen' => '1368.9'
};
Why the data for INF846K01Y05 is not available from NSE India (did it
perhaps stop trading?) is beyond the scope of both GnuCash and
Finance::Quote. Sorry.
Bruce S.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.