Swaptions-class: Swaptions

Description Usage Arguments Methods (by generic) Slots

Description

An S4 class to represent ATM swaptions for calibration of a G2++ model.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'Swaptions,missing'
plot(x, y)

## S4 method for signature 'Swaptions'
print(x)

## S4 method for signature 'Swaptions'
show(object)

Arguments

x

the Swaptions object to plot

y

classical plot parameters. Useless here.

object

the Swaptions object to show

Methods (by generic)

Slots

type

Character. Type of volatility:

  • "normal".

  • "lognormal". Default value

curve

ZCCurve. Zero coupon curve to use for pricing.

mat

Vector. List of maturities.

tenor

Vector. List of tenors.

vol

Vector. List of volatilities corresponding to maturities and tenors.

freq

Numeric. Number of payments by period.

price

Vector. Swaptions prices.


ArnaudBu/esg2 documentation built on Oct. 20, 2021, 10:01 a.m.