hledger-irr 0.1.1 → 0.1.1.1
raw patch · 2 files changed
+12/−12 lines, 2 filesdep ~hledger-lib
Dependency ranges changed: hledger-lib
Files
- Main.hs +4/−4
- hledger-irr.cabal +8/−8
Main.hs view
@@ -71,16 +71,16 @@ "calculate interest until this date" , Option "D" ["daily"] (NoArg (\o -> o { optInterval = Just (Days 1) }))- "calculate intereste for each day"+ "calculate interest for each day" , Option "W" ["weekly"] (NoArg (\o -> o { optInterval = Just (Weeks 1) }))- "calculate intereste for each week"+ "calculate interest for each week" , Option "M" ["monthly"] (NoArg (\o -> o { optInterval = Just (Months 1) }))- "calculate intereste for each month"+ "calculate interest for each month" , Option "Y" ["yearly"] (NoArg (\o -> o { optInterval = Just (Years 1) }))- "calculate intereste for each year"+ "calculate interest for each year" ] usageMessage :: String
hledger-irr.cabal view
@@ -1,5 +1,5 @@ Name: hledger-irr-Version: 0.1.1+Version: 0.1.1.1 Synopsis: computes the internal rate of return of an investment License: BSD3 License-file: LICENSE@@ -64,11 +64,11 @@ > 2011/04/01: €-50.00 > 2011/05/01: €47.00 > 2011/06/01: €90.00- > 2011/01/01 - 2013/05/02: 17.72%+ > 2011/01/01 - 2013/05/14: 17.72% > $ hledger-irr -f speculation.ledger -t "Rate Gain" -i Speculation -e 2011-03-01 > 2011/01/01 - 2011/03/01: 26.11% > $ hledger-irr -f speculation.ledger -t "Rate Gain" -i Speculation -b 2011-03-01- > 2011/03/01 - 2013/05/02: 12.27%+ > 2011/03/01 - 2013/05/14: 12.27% > $ hledger-irr -f speculation.ledger -t "Rate Gain" -i Speculation --monthly > 2011/01/01 - 2011/02/01: 12.43% > 2011/02/01 - 2011/03/01: 41.57%@@ -89,10 +89,10 @@ > -t ACCOUNT --interest-account=ACCOUNT interest/gain/fees/losses account > -b DATE --begin=DATE calculate interest from this date > -e DATE --end=DATE calculate interest until this date- > -D --daily calculate intereste for each day- > -W --weekly calculate intereste for each week- > -M --monthly calculate intereste for each month- > -Y --yearly calculate intereste for each year+ > -D --daily calculate interest for each day+ > -W --weekly calculate interest for each week+ > -M --monthly calculate interest for each month+ > -Y --yearly calculate interest for each year . Known bugs and issues: .@@ -104,7 +104,7 @@ Executable hledger-irr Main-is: Main.hs- Build-depends: base >= 3 && < 5, hledger-lib == 0.20 || == 0.20.0.*, time, Cabal, statistics >= 0.10+ Build-depends: base >= 3 && < 5, hledger-lib == 0.20 || == 0.20.*, time, Cabal, statistics >= 0.10 Ghc-Options: -Wall source-repository head