Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/models/marketmodels/models/capletcoterminalswaptioncalibration"
CTSMMCapletOriginalCalibration
Class CTSMMCapletOriginalCalibration
Hierarchy
CTSMMCapletCalibration
CTSMMCapletOriginalCalibration
Index
Constructors
constructor
Properties
_alpha
_calibrated
_caplet
Max
Error
_caplet
Rms
Error
_corr
_cs
_deformation
Size
_displaced
Swap
Variances
_displacement
_evolution
_failures
_lowest
Root
_mdl
Caplet
Vols
_mdl
Swaption
Vols
_mkt
Caplet
Vols
_mkt
Swaption
Vols
_number
OfRates
_swap
Covariance
Pseudo
Roots
_swaption
Max
Error
_swaption
Rms
Error
_time
Dependent
Calibrated
Swaption
Vols
_use
Full
Approx
_used
Caplet
Vols
Methods
_calibration
Impl
calibrate
caplet
Max
Error
caplet
Rms
Error
curve
State
deformation
Size
displacements
failures
mdl
Caplet
Vols
mdl
Swaption
Vols
mkt
Caplet
Vols
mkt
Swaption
Vols
swap
Pseudo
Root
swap
Pseudo
Roots
swaption
Max
Error
swaption
Rms
Error
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
calibration
Function
perform
Checks
Constructors
constructor
new CTSMMCaplet
Original
Calibration
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, mktCapletVols
:
Volatility
[]
, cs
:
CurveState
, displacement
:
Spread
, alpha
:
Real
[]
, lowestRoot
:
boolean
, useFullApprox
:
boolean
)
:
CTSMMCapletOriginalCalibration
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
mktCapletVols:
Volatility
[]
cs:
CurveState
displacement:
Spread
alpha:
Real
[]
lowestRoot:
boolean
useFullApprox:
boolean
Returns
CTSMMCapletOriginalCalibration
Properties
Private
_alpha
_alpha
:
Real
[]
Protected
_calibrated
_calibrated
:
boolean
Protected
_caplet
Max
Error
_caplet
Max
Error
:
Real
Protected
_caplet
Rms
Error
_caplet
Rms
Error
:
Real
Protected
_corr
_corr
:
PiecewiseConstantCorrelation
Protected
_cs
_cs
:
CurveState
Protected
_deformation
Size
_deformation
Size
:
Real
Protected
_displaced
Swap
Variances
_displaced
Swap
Variances
:
PiecewiseConstantVariance
[]
Protected
_displacement
_displacement
:
Spread
Protected
_evolution
_evolution
:
EvolutionDescription
Protected
_failures
_failures
:
Natural
Private
_lowest
Root
_lowest
Root
:
boolean
Protected
_mdl
Caplet
Vols
_mdl
Caplet
Vols
:
Volatility
[]
Protected
_mdl
Swaption
Vols
_mdl
Swaption
Vols
:
Volatility
[]
Protected
_mkt
Caplet
Vols
_mkt
Caplet
Vols
:
Volatility
[]
Protected
_mkt
Swaption
Vols
_mkt
Swaption
Vols
:
Volatility
[]
Protected
_number
OfRates
_number
OfRates
:
Size
Protected
_swap
Covariance
Pseudo
Roots
_swap
Covariance
Pseudo
Roots
:
Matrix
[]
Protected
_swaption
Max
Error
_swaption
Max
Error
:
Real
Protected
_swaption
Rms
Error
_swaption
Rms
Error
:
Real
Protected
_time
Dependent
Calibrated
Swaption
Vols
_time
Dependent
Calibrated
Swaption
Vols
:
Volatility
[]
[]
Private
_use
Full
Approx
_use
Full
Approx
:
boolean
Protected
_used
Caplet
Vols
_used
Caplet
Vols
:
Volatility
[]
Methods
_calibration
Impl
_calibration
Impl
(
numberOfFactors
:
Natural
, maxIterations
:
Natural
, tolerance
:
Real
)
:
Natural
Parameters
numberOfFactors:
Natural
maxIterations:
Natural
tolerance:
Real
Returns
Natural
calibrate
calibrate
(
numberOfFactors
:
Natural
, maxIterations
:
Natural
, capletVolTolerance
:
Real
, innerSolvingMaxIterations
?:
Natural
, innerSolvingTolerance
?:
Real
)
:
boolean
Parameters
numberOfFactors:
Natural
maxIterations:
Natural
capletVolTolerance:
Real
Default value
innerSolvingMaxIterations:
Natural
= 100
Default value
innerSolvingTolerance:
Real
= 1e-8
Returns
boolean
caplet
Max
Error
caplet
Max
Error
(
)
:
Real
Returns
Real
caplet
Rms
Error
caplet
Rms
Error
(
)
:
Real
Returns
Real
curve
State
curve
State
(
)
:
CurveState
Returns
CurveState
deformation
Size
deformation
Size
(
)
:
Real
Returns
Real
displacements
displacements
(
)
:
Spread
[]
Returns
Spread
[]
failures
failures
(
)
:
Natural
Returns
Natural
mdl
Caplet
Vols
mdl
Caplet
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mdl
Swaption
Vols
mdl
Swaption
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mkt
Caplet
Vols
mkt
Caplet
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
mkt
Swaption
Vols
mkt
Swaption
Vols
(
)
:
Volatility
[]
Returns
Volatility
[]
swap
Pseudo
Root
swap
Pseudo
Root
(
i
:
Size
)
:
Matrix
Parameters
i:
Size
Returns
Matrix
swap
Pseudo
Roots
swap
Pseudo
Roots
(
)
:
Matrix
[]
Returns
Matrix
[]
swaption
Max
Error
swaption
Max
Error
(
)
:
Real
Returns
Real
swaption
Rms
Error
swaption
Rms
Error
(
)
:
Real
Returns
Real
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
Calibrated
Swaption
Vols
(
i
:
Size
)
:
Volatility
[]
Parameters
i:
Size
Returns
Volatility
[]
time
Dependent
UnCalibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
(
i
:
Size
)
:
Volatility
[]
Parameters
i:
Size
Returns
Volatility
[]
Static
calibration
Function
calibration
Function
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, capletVols
:
Volatility
[]
, cs
:
CurveState
, displacement
:
Spread
, alpha
:
Real
[]
, lowestRoot
:
boolean
, useFullAprox
:
boolean
, numberOfFactors
:
Size
, swapCovariancePseudoRoots
:
Matrix
[]
)
:
Natural
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
capletVols:
Volatility
[]
cs:
CurveState
displacement:
Spread
alpha:
Real
[]
lowestRoot:
boolean
useFullAprox:
boolean
numberOfFactors:
Size
swapCovariancePseudoRoots:
Matrix
[]
Returns
Natural
Static
perform
Checks
perform
Checks
(
evolution
:
EvolutionDescription
, corr
:
PiecewiseConstantCorrelation
, displacedSwapVariances
:
PiecewiseConstantVariance
[]
, mktCapletVols
:
Volatility
[]
, cs
:
CurveState
)
:
void
Parameters
evolution:
EvolutionDescription
corr:
PiecewiseConstantCorrelation
displacedSwapVariances:
PiecewiseConstantVariance
[]
mktCapletVols:
Volatility
[]
cs:
CurveState
Returns
void
Globals
"ql/models/marketmodels/models/capletcoterminalswaptioncalibration"
CTSMMCaplet
Original
Calibration
constructor
_alpha
_calibrated
_caplet
Max
Error
_caplet
Rms
Error
_corr
_cs
_deformation
Size
_displaced
Swap
Variances
_displacement
_evolution
_failures
_lowest
Root
_mdl
Caplet
Vols
_mdl
Swaption
Vols
_mkt
Caplet
Vols
_mkt
Swaption
Vols
_number
OfRates
_swap
Covariance
Pseudo
Roots
_swaption
Max
Error
_swaption
Rms
Error
_time
Dependent
Calibrated
Swaption
Vols
_use
Full
Approx
_used
Caplet
Vols
_calibration
Impl
calibrate
caplet
Max
Error
caplet
Rms
Error
curve
State
deformation
Size
displacements
failures
mdl
Caplet
Vols
mdl
Swaption
Vols
mkt
Caplet
Vols
mkt
Swaption
Vols
swap
Pseudo
Root
swap
Pseudo
Roots
swaption
Max
Error
swaption
Rms
Error
time
Dependent
Calibrated
Swaption
Vols
time
Dependent
UnCalibrated
Swaption
Vols
calibration
Function
perform
Checks