Description Usage Arguments Value Examples
Constructor for the
S3 class spread. It allows to define a spread-type risk factor. This risk factor refers
to the "Modell-Spread" change Δ S(1,j,r) for a certain index rating r and a certain
currency j in the
valuation function for "Fixed-Income-Assets und Versicherungsverpflichtungen" at page 6
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  | 
| currency | a character value of length one. The currency in which the underlying
"Fixed-Income-Assets oder Versicherungsverpflichtungen" is valuated.
This refers to the currency corresponding to the index  | 
| rating | a character value of length one. The corresponding rating of the spread refering to
the index  | 
| scale | a numeric value of length one. If not set  | 
An S3 object, instance of the class spread.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | # constructing a non-scaled spread risk factor
# (assuming "AA_EUR_Spread" exists in marketRisk).
e <- spread(name     = "AA_EUR_Spread",
            rating   = "AA",
            currency = "EUR")
# constructing a scaled spread risk factor
# (assuming "AA_EUR_Spread" exists in marketRisk).
e <- spread(name     = "AA_EUR_Spread",
            rating   = "AA",
            currency = "EUR",
            scale    = 0.5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.