summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-05-22 06:02:43 -0400
committerBen Sima <ben@bsima.me>2021-05-22 06:03:11 -0400
commit2f71ad0c66be309adb84d09137aa016d99876e24 (patch)
treed1f48e78018f52bda87b6212e561b675dd1c6543
parent945586b01bd73d8f03ad6036f51179fe83b7c0bf (diff)
rename trivial to bip
-rwxr-xr-xhledger-overview.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/hledger-overview.hs b/hledger-overview.hs
index d943223..dddc09c 100755
--- a/hledger-overview.hs
+++ b/hledger-overview.hs
@@ -71,7 +71,7 @@ main = do
row " li:as" (Percent_ $ 100 * (- bal "^li") / bal "^as") Nothing
row "cred load" (Target 0 netCash) $ Just "credit spending minus cash. keep it positive"
row "month nut" (Limit monthlyNut thisMonth) $ Just $ "avg: " <> (display $ Diff $ monthlyNut - thisMonth)
- row " trivial" (pr $ roundTo 2 $ trivial * netWorth) Nothing
+ row " bip" (pr $ roundTo 2 $ trivial * netWorth) Nothing
let (_, _, runwayMo) = runway j t reportopts
row " runway" (Target 36 runwayMo) $ Just "want: 36 months"
let (ramenNut, _, ramenMo) = ramen j t reportopts
@@ -222,9 +222,8 @@ satToBtc sat = sat / 100_000_000
usdToSat usd = btcToSat $ usdToBtc usd
--- | A trivial decision is one that is 0.01% of the total.
---
--- From <https://ofdollarsanddata.com/climbing-the-wealth-ladder/>
+-- | A trivial decision is one that is 0.01% of the total, or 1 basis point.
+-- From <https://ofdollarsanddata.com/climbing-the-wealth-ladder/>.
trivial :: Quantity
trivial = 0.0001