cashFlows: 'cashFlows'

View source: R/cashFlows.R

cashFlowsR Documentation

cashFlows

Description

Function that returns the cashflows generated by object x in form of a timeSeries object.

Usage

cashFlows(x, from, to, riskfactors)

Arguments

x

The contract for which to calculate cashflows

from

Start date of cashflow calculation

to

End date of cashflow calculation

riskfactors

Object of type YieldCurve or RiskfactorConnector

Value

timeSeries of generated cashflows

Examples

my.account <- bankAccount("2013-12-31", balance = 50000)
cashFlows(my.account, from = "2013-01-01", to = "2019-01-01")


wbreymann/FEMS documentation built on Dec. 8, 2022, 9:43 a.m.