[GNC] finance quote not working

Jim DeLaHunt list+gnucash at jdlh.com
Fri Aug 4 20:16:57 EDT 2023


Paras:

On 2023-08-04 06:23, Paras Desai wrote:
> Hello Jim,
>
> Thanks for replying to my query regarding "Finance Quote Not Working"
>
> My response to  your questions are as below
>
> 1. I am looking to update prices of Stocks and mutual Fund both _from
>    India__only_. After I created stock account and mutual fund account,
>    the prices of all mutual funds and stocks updated successfully
>    twice. ( last update was on 26-7-2023) , there after update is not
>    working . For example, I have tried to update following stock
>     1. Reliance Industry : Ticker is "RELIANCE", listed at NSEIndia
>     2. Infosys : Ticker is INFY listed at NSEindia
>
> So far, Mutual fund is concerned, following is an example of the fund
>
>             1. Axis Special Situation Fund , symbol for fetching price
>    is INF846K01Y05
>
>
> 2. my source for fetching prices are as below ( from the options 
> offered by GNUcash)
>
> Stock : Type of quote source --> Unlnown --> nseindia-->time zone (local)
>
> Mutual Fund: Type of quote Source --> Single--> India Mutual --> time 
> zone (local)
>
> both the sources were working fine, prices were updating successfully 
> till 26-7-2023, but thereafter , they are not working.


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 configuration.

Instructions for testing quote retrieval from the command line are at: 
<https://wiki.gnucash.org/wiki/Online_Quotes#Setting_up_online_quotes_in_GnuCash>

The command looks something like:

gnucash-cli -V --quotes dump nseindia RELIANCE

On my older version (4.14) of GnuCash, with an older version of the 
command, I get:

% /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump nseindia RELIANCE

Finance::Quote fields Gnucash uses:

     symbol: RELIANCE             <=== required

       date: 08/04/2023           <=== recommended

   currency: INR                  <=== required

       last: 2508                 <=\

        nav:                      <=== one of these

      price:                      <=/

   timezone:                      <=== optional

I hope this helps you get another step further forward.


>
> 3. I am using following version ( as it appears in help--> about menu 
> of GNU Cash)
>
> Version : 5.3
> Finance Quote : 1.57
> I am using Window 10 home


More information about the gnucash-user mailing list