This allows you to create a CashFlow object.

CashFlow(dates, monies)

Arguments

dates

a Date vector with either the same length as monies or a vector of length one that is recycled

monies

a MultiCurrencyMoney object

Value

a CashFlow object that extends tibble::tibble()

See also

Examples

CashFlow(as.Date("2017-11-15"), MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD()))) )
#> # <CashFlow> of length 1 #> dates values currencies #> * <date> <dbl> <list> #> 1 2017-11-15 1 <CCY: AUD>