impl ledger.Register.Between
This commit is contained in:
@@ -36,3 +36,13 @@ func NewInterestPredictor(namePattern string, currencyPattern string, apy float6
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
func NewContributionPredictor(reg ledger.Register) Predictor {
|
||||
monthlyRate := getMonthlyContributionRate(reg)
|
||||
return func(given ledger.Balances, delta time.Duration) ledger.Balances {
|
||||
panic(nil)
|
||||
}
|
||||
}
|
||||
|
||||
func getMonthlyContributionRate(reg ledger.Register) map[string]ledger.Balance {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user