On Sat, Jun 13, 2009 at 05:52:04AM -0500, Dirk Eddelbuettel wrote:
> sub portfolio_update {
> my $res = shift;
> if ($Config{fxupdate}) {
> if ($Config{ubcfx}) {
> UpdateFXviaUBC($dbh, $res);
> } else {
> UpdateFXDatabase($dbh, $res);
> }
> }
> UpdateDatabase($dbh, $res) if $Config{equityupdate};
> }
Made the change at line 863. I now have three currencies: USD, GBP and
SEK
On running beancounter update as part of my cron job the error this
morning was "Found no GBP for 20090101 in the beancounter database."
GBP was added on Thursday
If I run
beancounter fxbackpopulate --prevdate 20090101 --date 20090612 GBP SEK
Then the error is:
No luck with symbol ^XBX
** Ignoring SEK which is not currently known to the internal tables
If I run
beancounter --ubcfx fxbackpopulate --prevdate 200901 --date 20090612
GBP SEK
Then no problems
If I run
beancounter plreport
Then I get the error
Found no GBP for 20081215 in the beancounter database.
--
Henry
Photocopies or faxes of my signature are not binding.
Digital Key Signature: GPG RSA 0xFB447AA1
Mon Jun 15 08:50:37 BST 2009
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]