report currency

4 views
Skip to first unread message

lipp f

unread,
Sep 1, 2022, 7:36:46 AMSep 1
to hledger
Hi everyone,

I am coming form ledger background and I am trying an hledger balance report.

$ hledger -f file bal -V  account
CAD-86488.4776330690132500000000000000
                            EUR41.1042
 USD83419.5800000000000000000000000000   account
CAD-86488.4776330690132500000000000000
                            EUR41.1042    Cash
USD83419.5800000000000000000000000000    OPT
--------------------
CAD-86488.4776330690132500000000000000
                            EUR41.1042
 USD83419.5800000000000000000000000000

Strange thing is that, although  I do not have any single transactions in EUR or any asset valued in EUR in the journal, I am getting the line for account:Cash account in EUR. The cash balance of the account has same USD and same CAD.

How do I get this fixed? In ledger I would use -X USD to get the balance in USD but does not seem to work with hl. TIA.
Reply all
Reply to author
Forward
0 new messages