Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

generateFunction.portfolio

Generate the Market Valuation Function for a Portfolio


Description

method to generate the market valuation function for a given portfolio and all positions (including participation if any).

Usage

## S3 method for class 'portfolio'
generateFunction(object, market.risk, ...)

Arguments

object

S3 object of class portfolio.

market.risk

S3 object of class marketRisk.

...

additional arguments.

Value

a function, the market valuation function with the following parameter:

  • x: a matrix of simulation with named columns corresponding exactly to the name of base-risk factors in a marketRisk keeping the same order or an unnamed vector of simulations keeping the same ordering of risk factors as in the covariance matrix defined in marketRisk. Please note that if the portfolio contains a participation, then an additional column (in the case of matrix input) named participation or an additional entry (in the case of vector input) should be provided in the last position.

Note

Please note that the valuation functions here are not centered.

See Also


sstModel

Swiss Solvency Test (SST) Standard Models

v1.0.0
GPL-3 + file LICENSE
Authors
Loris Michel [aut], Melvin Kianmanesh Rad [aut], Adrien Lamit [aut], Michael Schmutz [cre], Swiss Financial Market Supervisory Authority FINMA [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.