Returns the spread on the exotic leg of a Basis swap.
The exotic side details of the BasisSwap is extracted from the 'EIndexKey' parameter.
The vanilla Leg details are extracted from the 'VIndexKey' parameter.
Both indexes must be based from the same currency.
This function requires the input of a Index object key, which must have been produced via a call to one of the index creation objects present within the
CapeTools Indexes category of functions.
This function would have returned a string 'KEY' which are to be passed to the 'EIndexKey' and 'VIndexKey' parameters of this function.
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.