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 : "IVFBOOKCF"
- Key parameter
Key Handle to be used for the new IV CapFloor Portfolio 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 CapFloor deals.
- YCKey parameter
Key to an already constructed YieldCurve object. This curve will be used for discounting.
- CFRange parameter
A 8 column CapFloor range : 'CapFloorName', 'Premium', 'CapFloor', 'StartDate', 'EndDate', 'Notional', 'Strike', '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.