diff options
author | Ben Sima <ben@bsima.me> | 2021-12-16 09:21:04 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-12-16 09:21:04 -0500 |
commit | 9982ab07463ceaf6e885c60bac1dd36296bc699a (patch) | |
tree | 98586fcf4ff2ecfad1787c1f70cd71fc0717ee9a /hledger-allocation | |
parent | 8749935f4be2d685b6a77d8e31d4ce91726c12a3 (diff) |
update bitcoin allocation and bal scripts
Diffstat (limited to 'hledger-allocation')
-rwxr-xr-x | hledger-allocation | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hledger-allocation b/hledger-allocation index 87a6541..53a8371 100755 --- a/hledger-allocation +++ b/hledger-allocation @@ -9,7 +9,7 @@ networth=$(hledger bal ^as ^li --value=now,USD --output-format=csv \ | tr -d [totalUSD,\"]) #commodities=$(hledger commodities) -commodities=("BTC|sat|GBTC" GROQ USD ETH BCH LTC XLM) +commodities=("BTC|sat|SAT|GBTC" GROQ USD ETH BCH LTC XLM) printf "networth: %.2f USD\n\n" $networth @@ -19,4 +19,3 @@ do pct=$(bc -l <<< "$n/$networth*100") printf "%s: %.1f%%\n" $com $pct done - |