ΕΕΛ/ΛΑΚ - Λίστες Ταχυδρομείου

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

  • Subject: Aυτόματης λήψη τιμών μετοχών από το ΑΣΕ ετοιμάζεται για το GnuCash
  • From: Nikos Charonitakis <frolix68 [ at ] yahoo [ dot ] gr>
  • Date: Thu, 05 May 2005 02:27:15 +0300
Να σας ενημερώσω ότι η έκδοση του 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

Attachment: ASEGR.pm
Description: Perl program

Attachment: Test_ASEGR.pl
Description: Perl program

πλοήγηση μηνυμάτων