capbylg2f
Price cap using Linear Gaussian two-factor model
Syntax
Description
returns cap price for a two-factor additive Gaussian interest-rate model. CapPrice
= capbylg2f(ZeroCurve
,a
,b
,sigma
,eta
,rho
,Strike
,Maturity
)
Note
Alternatively, you can use the Cap
object to price cap
instruments. For more information, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
adds optional name-value pair arguments. CapPrice
= capbylg2f(___,Name,Value
)
Note
Use the optional name-value pair argument, Notional
, to pass a
schedule to compute the price for an amortizing cap.
Examples
Input Arguments
Output Arguments
More About
Algorithms
The following defines the two-factor additive Gaussian interest rate model, given the
ZeroCurve
, a
, b
,
sigma
, eta
, and rho
parameters:
where is a two-dimensional Brownian motion with correlation ρ and ϕ is a function chosen to match the initial zero curve.
References
[1] Brigo, D. and F. Mercurio. Interest Rate Models - Theory and Practice. Springer Finance, 2006.