Constructing a Currency (FX Exchange Rate Risk Factor)
Constructor for the
S3 class currency. It allows to define a currency (fx rate) risk factor. This risk factor refers
to the "Fremdwährungsrisikofaktors" change Δ RF_{t,FX_{j}} for a certain index j
in the
all valuation functions at presented
in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
currency(name, from, to)
name |
a character value of length one. This corresponds to the name in the covariance matrix of the |
from |
a character value of length one. The starting currency corresponding to the FX index |
to |
a character value of length one. The arrival currency to which the exchange rate FX_{j} is mapped. |
An S3 object, instance of the class currency.
Please consider that we do not allow for scaled currency risk factors.
# constructing a currency risk factor # (assuming "EURCHF" exists in marketRisk). cur <- currency(name = "EURCHF", from = "EUR", to = "CHF")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.