Henry, I may have misunderstood your bug report at first...
On 11 June 2009 at 15:01, henryb...@fsfe.org wrote: | | | On Thu, Jun 11, 2009 at 06:43:31AM -0500, Dirk Eddelbuettel wrote: | > | > 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 How? This is critically important because if you do beancounter addstock HEXA-B.ST we may not have added information on its currency. On the other hand, if you do beancounter addportfolio HEXA-B.ST:100:SEK:foo:bar:73.50:20090611 (here foo and bar are portfolio 'label' and 'owner'; you can pick whatever you want there -- and I assumed that today's close of 73.50 was your cost of purchase) then you end up with SEK as a currency we know and care about. This matters, as only currencies with portfolio positions are retrieved by default! | > | - I then ran the command "beancounter update" | > | - I then ran the command "beancounter --extrafx SEK" Wrong -- you need beancounter --extrafx SEK update to tell update to pull everything it things it needs, and then tell it to also get SEK. [ If you do addportfolio as above, then you no longer need the --extrafx FOO optional argument. ] | > | - I then ran the command "beancounter fxbackpopulate SEK" That's just gravy we can ignore. | > | 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)? See above. Maybe we are good after all. | > 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. | | | VERY little knowledge of PERL and SQL but willing to learn Good good good, you may well end up doing some really useful testing. Cheers, Dirk -- 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