Created
October 10, 2019 20:24
-
-
Save adept/585059d7968a9a1dc41c412983a45726 to your computer and use it in GitHub Desktop.
hledger does not like currency conversions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is fine | |
$ hledger bal -f paypal.journal | |
£-100 cash | |
2 SHR shares | |
-------------------- | |
2 SHR | |
£-100 | |
# Attempt to report cost makes paypal account go blerghhh :( | |
$ hledger bal -f paypal.journal --cost | |
£-100 cash | |
$-100 | |
£100 paypal | |
$100 shares | |
-------------------- | |
0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-01-01 Fund paypal in £££ | |
cash -£100 | |
paypal | |
2019-01-03 Convert £ to $ in paypal account | |
paypal -£100 | |
paypal +$100 | |
2019-01-03 Buy some shares with paypal | |
paypal -$100 | |
shares 2 SHR @ $50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be no way to get rid of "-$100 +£100" when using --cost :(