On 11 June 2009 at 10:07, henryb...@fsfe.org wrote:
| I am having problem adding the currency "SEK" (Swedish Kroner) to
| beancounter.
| 
| - I added the stock HEXA-B.ST quoted on the Stockholm exchange
| - I then ran the command "beancounter update"
| - I then ran the command "beancounter --extrafx SEK"
| - I then ran the command "beancounter fxbackpopulate SEK"
| 
| and various permutations and combinations of the above with and without
| dates
| 
| The only error message I get is 
| ** Ignoring SEK which is not currently known to the internal tables
| 
| If I check the currency tables then the only currencies shown are EUR
| and CAD.
| 
| Question: how do I add SEK (and a couple of other currencies)?

It's messy. I think the Yahoo interface is broken, but I never sat down and
wrote something real good to replace it. 

I have some code I use that goes to OandA.com, but last I checked, that site
also had some shortcomings. I think mostly for testing I currently follow
these three:

beancounter=# select distinct currency from fxprices where date >= '2009-06-01';
 currency 
----------
 AUD
 CAD
 EUR
(3 rows)

If you have some time and a little knowledge of Perl and SQL we could try to
fix things up a little.

Dirk

| 
| 
| -- System Information:
| Debian Release: squeeze/sid
|   APT prefers testing
|   APT policy: (500, 'testing')
| Architecture: i386 (i686)
| 
| Kernel: Linux 2.6.26-2-486
| Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/bash
| 
| Versions of packages beancounter depends on:
| ii  libdate-manip-perl            5.54-1     a perl library for manipulating 
da
| ii  libdbd-pg-perl                2.13.1-1   Perl DBI driver for the 
PostgreSQL
| ii  libdbd-sqlite3-perl           1.25-2     Perl DBI driver with a 
self-contai
| ii  libdbi-perl                   1.608-1    Perl5 database interface by Tim 
Bu
| ii  libfinance-yahooquote-perl    0.22       Perl module for retrieving stock 
q
| ii  libstatistics-descriptive-per 3.0000-1   Perl module for basic 
descriptive 
| ii  perl                          5.10.0-22  Larry Wall's Practical 
Extraction 
| ii  postgresql-client             8.3.7-1    front-end programs for 
PostgreSQL 
| ii  postgresql-client-8.3 [postgr 8.3.7-1    front-end programs for 
PostgreSQL 
| ii  sqlite3                       3.6.13-1   A command line interface for 
SQLit
| 
| beancounter recommends no packages.
| 
| beancounter suggests no packages.
| 
| -- no debconf information
| 
| 

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to