Creates an array of CAP/FLOOR calibration instruments (rather than a portfolio of individual caplets/floorlets with their own strikes and volatilities - see
CFCalibInst(),
CFCalibInst2() and
CFCalibInst3()).
Each row within the 'PeriodsVols' parameter represents a single cap/floor along with a flat black vol (depending on the value of the 'Types' parameter).
The 'IndexKey' will determine the underlying rate.
To be used in the calibration of a ShortRate Model (ie BlackKarasinski, HullWhite, Vasicek, G2, LiborMarketModel).
The string 'Key' value returned from this function can be passed to the calibration functions (functions with a naming convention of Calibrate*() ) within the
CapeTools IR Calibration or
CapeTools LMM Calibration category of functions.
Not all calibration functions can be used with each model.
If you indicate 0.0 for any of the cells within the StrikeRange, then ATM forward rates will be computed for each cap/floor and used as the strike.
This function creates an object and returns a string-key value to represent this created object.
The TAG value of the string-key returned (second part of the key) is : "CAPFLRCAL"
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.