Creates an array of Caplet/Floorlet calibration instruments.
Each period within the leg object will be taken as a caplet or floorlet instrument (depending on the value of the 'Types' parameter).
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 caplet/floorlet 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 : "CFCAL"
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.