[I18NGR] Aυτόματης λήψη τιμών μετοχών από το ΑΣΕ ετοιμάζεται για το GnuCash

Nikos Charonitakis frolix68 at yahoo.gr
Thu May 5 02:24:03 EEST 2005


Να σας ενημερώσω ότι η έκδοση του Gnucash για GNOME2 έχει αρχίσει να
προχωράει πραγματικά και υπολογίζεται ότι αν όλα πάνε καλά θα είναι
έτοιμη τον 10-2005. Εν τω μεταξύ απρόσμενα γρήγορα ο Morten Cools
έφτιαξε ένα perl module για την υποστήριξη λήψης τιμών μετοχών από το
χρηματιστήριο αθηνών.
Από την gnucash-devel list το παρακάτω:
 
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 :)

Morten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ASEGR.pm
Type: application/x-perl
Size: 4674 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/i18ngr/attachments/20050505/bbc0ee92/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test_ASEGR.pl
Type: application/x-perl
Size: 866 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/i18ngr/attachments/20050505/bbc0ee92/attachment-0001.bin>


More information about the I18ngr mailing list