Creates an array of Swaption calibration instruments.
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.
The details of the underlying swap will be extracted from the VolCurve (via the SwapTemplate object that was passed into the VolCurve creation function).
If you indicate 0.0 for any of the cells within the StrikeRange, then the ATM swap rate will be computed 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 : "SWOPTCAL"
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.