Constructing a Fixed-Income-Asset
Constructor for the S3 class cashflow. It allows to build for a fixed-income-asset referred under the name "Fixed-Income-Assets" in the FINMA technical document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
cashflow(time, currency, rating, spread, value)
time |
stricly positive integer value of length one representing the
time-to-maturity. This parameter relates to the "Restlaufzeit" cashflow variable
|
currency |
character value of length one representing the currency in
which the fixed-income-asset is labeled. This parameter relates
to the "Fremdwährungsrisikofaktor" cashflow index |
rating |
character value of length one representing the rating associated
to the fixed-income-asset. This parameter relates to the "Rating" cashflow variable
|
spread |
a numeric value of length one representing the initial spread corresponding
to the fixed-income-asset. This parameter relates to the cashflow variable
S(0,j,r) in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
A warning is triggered if |
value |
non-zero numeric value of length one representing the expected cashflow
at time CF^{A,r,j}_{τ} in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung". |
an S3 object, instance of the class cashflow.
# Creating new cashflows. cashflow1 <- cashflow(1L, "USD", "AAA", 0.1, 1000) cashflow2 <- cashflow(2L, "EUR", "BB", 0.1, 2000)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.