Description Usage Arguments Value Examples
Constructor for the
S3 class equity. It allows to define an equity-type risk factor. This risk factor refers
to the "Preisrisikofaktor" change Δ RF_{t,i} for a certain index i
in the
valuation function for "Aktiven mit direkt marktabhängigen Preisen" presented
in the FINMA document "SST-Marktrisiko und -Aggregation Technische Beschreibung".
1 |
name |
a character value of length one. This corresponds to the name in the covariance matrix of the |
type |
a character value of length one. The type of equity. (e.g.
|
currency |
a character value of length one. The currency in which the underlying
asset with direct market price ("Aktiv mit direkt marktabhängigen Preisen") is valuated.
This refers to the currency corresponding to the index |
scale |
a numeric value of length one. If not set |
An S3 object, instance of the class equity.
1 2 3 4 5 6 7 8 9 10 11 12 | # constructing a non-scaled equity risk factor
# (assuming "MSCI_CHF" exists in marketRisk).
e <- equity(name = "MSCI_CHF",
type = "equity",
currency = "CHF")
# constructing a scaled equity risk factor
# (assuming "MSCI_CHF" exists in marketRisk).
e <- equity(name = "MSCI_CHF",
type = "equity",
currency = "CHF",
scale = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.