Indian Stock quotes

Rama Krishna Pai nrkpai at hotmail.com
Mon Aug 17 07:49:43 EDT 2015


Dear John,
What is the solution for me.

Thanks and Regards.,
Rama Krishna Pai
Mobile: +966502812148


> Subject: Re: Indian Stock quotes
> From: jralls at ceridwen.us
> Date: Mon, 17 Aug 2015 10:39:55 +0100
> CC: nrkpai at hotmail.com; gnucash-user at gnucash.org
> To: eco at ecocode.net
> 
> 
> > On Aug 17, 2015, at 10:20 AM, Erik Colson <eco at ecocode.net> wrote:
> > 
> > John Ralls <jralls at ceridwen.us> writes:
> > 
> >> Erik, can you have a look at this?
> > 
> > It is a known problem for .BO stocks.
> > 
> > When you open the page @ yahoo:
> > http://finance.yahoo.com/q?s=ANDHRABANK.BO you get the quotes
> > correctly. But if, on that page, you hit the link "Download Data
> > (delayed)" (at the bottom on the right of the page) you get a csv with
> > all quote fields returning N/A. That is why yahoo and yahoo_asia fail to
> > return the quotes. I guess yahoo has his reason for this limitation.
> > 
> > So I discovered the json interface returns (albeit less) info for those
> > stocks, which is the reason why I implemented support for it:
> > 
> > perl Examples/stockdump.pl yahoo_json ANDHRABANK.BO
> > $VAR1 = {
> >          'ANDHRABANK.BOname' => 'ANDHRABANK.BO (ANDHRA BANK)',
> >          'ANDHRABANK.BOdate' => '08/17/2015',
> >          'ANDHRABANK.BOexchange' => 'Sourced from Yahoo Finance (as JSON)',
> >          'ANDHRABANK.BOtype' => 'equity',
> >          'ANDHRABANK.BOsymbol' => 'ANDHRABANK.BO',
> >          'ANDHRABANK.BOlast' => '79.349998',
> >          'ANDHRABANK.BOvolume' => '581482',
> >          'ANDHRABANK.BOsuccess' => 1,
> >          'ANDHRABANK.BOisodate' => '2015-08-17',
> >          'ANDHRABANK.BOmethod' => 'yahoo_json'
> >        };
> > 
> > I didn't check if this info is suffisient/compatible with gnucash
> > though. If not so, please tell me what needs to be reordered/renamed..
> > 
> 
> Erik,
> 
> Thanks. GC needs a currency field in order to interpret the price correctly.
> 
> Regards,
> John Ralls
> 
> 
 		 	   		  


More information about the gnucash-user mailing list