Creates a Swaption portfolio object in order to compute a series of implied black scholes volatilities.
A discounting yieldcurve object will be associated with each Swaption object once created.
A 'SwaptionKey' string value will be returned on a successful creation of the Swaption portfolio object.
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 : "IVFBOOKOS"
- Key parameter
Key Handle to be used for the new IVPortfolio 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).
- GroupedIndex parameter
Key to an already constructed GroupedIndex object. This object is needed in order to extract the necessary index objects needed for pricing. CMS index objects are not supported for Swaption deals.
- YCKey parameter
Key to an already constructed YieldCurve object. This curve will be used for discounting.
- SwaptionRange parameter
A 13 column Swaption range : 'SwaptionName', 'Premium', 'PayRec', 'ExerciseDate', 'StartDate', 'EndDate', 'Notional', 'Coupon', 'FixBDC', 'FixDayCount', 'FixFreq', 'IndexCode' and 'Margin'. The range must contain the titles (detailed within the previous paragraph) for each column.
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.