how to add ASE stock prices to stock quote module?

Nikos Charonitakis nikosx at gmail.com
Wed May 4 19:08:48 EDT 2005


On 5/5/05, Morten Cools <morten at cools.no> wrote:
> Hi
> 
> Well, I've modified one of the existing modules to support ASE. I've
> tested it a bit, and it seems to work all right. It only returns the
> values I found in the Closing-db for stocks, but it seems to be enough.
> However, I should probably mention that I am stock illiterate, so what
> seems enough to me, might not be to someone living in the real
> world. :)
> 
> I include the module as an attachment here, along with a simple perl
> script to demonstrate it's possible use.
> 
> To use this module, you would copy it to your Finance/Quote dir,
> probably something like /usr/lib/perl5/vendor_perl/5.8.6/Finance/Quote,
> and then you have two options.
> 
> 1. Call the module from your perl-script with
> Finance::Quote->new("ASEGR");
> 
> 2. Modify Finance/Quote.pm by adding ASEGR to @modules. This will make
> applications that retrieve their sources from Finance::Quote, like
> dump-finance-quote, to find it.
> 
> To the best of my knowledge, though, Gnucash 1.8 will not be able to use
> this module, since it's exchanges are hardcoded.
> 
> If anyone has suggestions for improvement, or bugs that need to be
> fixed, let me know, and I'll see what I can do.
> 
> Let me know if it works allright for you :)
> 
> Morte
Thank you  Morten.
That was too fast :)

> 
> On Wed, 2005-05-04 at 14:44 +0300, Nikos Charonitakis wrote:
> > ASE=Athens stock exchange
> > i ve posted some years before a similar message to this list and it
> > was suggested to make a patch  for this purpose.
> > Since i m not a programmer i would like to ask how easy is  to take
> > another module  xxx.pm and modify it?
> > Is there any particular requirements for the source format  of prices
> > ? (i found a text , html, and xsl soures)
> > http://www.ase.gr/content/en/MarketData/Stocks/Prices/Files/txt/20050503.txt
> > http://www.ase.gr/content/en/MarketData/Stocks/Prices/Daily_Prices.asp?3/5/2005
> > http://www.ase.gr/content/gr/Marketdata/Stocks/Prices/Files/xls/20050503.xls
> >
> > thanks in advance
> >
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> --
> Email: morten at cools.no
> PGP-key available at http://www.keyserver.net - Key ID F2586BED
> 
> 
>



More information about the gnucash-devel mailing list