From 9982ab07463ceaf6e885c60bac1dd36296bc699a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 16 Dec 2021 09:21:04 -0500 Subject: update bitcoin allocation and bal scripts --- hledger-allocation | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hledger-allocation') 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 - -- cgit v1.2.3