Creates an array of Caplet/Floorlet calibration instruments.
Each row within the 'StartDates' parameter represents a single caplet/floorlet (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 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 : "CFCAL2"
- Key parameter
Key value to use as a handle for the created object
- Reload parameter
When creating this object for the first time, set this parameter to a positive value. Within Excel, when re-computing a worksheet where you do not wish to recreate the object, set this parameter to zero (0).
- StartDates parameter
A single column range of start caplet dates.
- StrikeRange parameter
A range of strike values that corresponds to each caplet/floorlet. Or you can enter a single value which will be applied to all the caplets/floorlets.
- IndexKey parameter
KEY to an already constructed Index object. This index will be used be the caplet/floorlet pricing functions.
- CFVCKey parameter
Key to an already created VolCurve object. Caplet/Floorlet vols will be extracted from this object.
- Types parameter
Are we pricing Caplets (CAPLET) or Floorlets (FLOORLET). This is a range object so each row can contain either one of the possible choices. Each row can also correspond to the rows within the 'StartDates' parameter (if not providing a constant value for this range object).
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.