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

valFunction.fxForward

Building the Valuation Function for a FX-Forward


Description

valFunction is a generic S3 method for classes inheriting from item. It returns the valuation function.

Usage

## S3 method for class 'fxForward'
valFunction(object, market.risk, with.constant = T, ...)

Arguments

object

S3 object of class fxForward.

market.risk

S3 object of class marketRisk created using marketRisk.

with.constant

a logical value, should the expression be with constant or not?

...

additional arguments.

Value

a function with one argument:

  • x: a matrix of simulations (numeric values) with named columns corresponding exactly to the name of base risk-factors in marketRisk keeping the same order, or an unnamed vector of simulations (numeric values) keeping the same ordering of base risk-factors as in marketRisk.

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.