Creates a Float vs Float SWAP object that can be amortised and have stepping up/down margins on both legs.
The swap legs can be in different currencies.
You can specify Quanto features, compounding features or CMS swap indexes within any of the floating legs passed in.
You cannot use this swap object within the
Swaption() function (please refer to the
Swap() function for this).
In the case that the currencies of the two floating legs are different you should enable principal exchanges within the floating legs passed into this function.
This function requires the input of float leg object keys, which must have been produced via a call to one of the following functions :
CreateFloatLeg(),
CreateIALeg(),
CreateQLeg(),
CreateQIALeg(),
CreateAmortIALeg(),
CreateAmortQLeg(),
CreateAmortQIALeg(),
CreateZCFloatLeg(),
CreateZCIALeg(),
CreateZCQLeg() CreateZCQIALeg() or
CreateAmortFloatLeg() functions.
These functions would have returned a string 'KEY' which is to be passed to the 'FloatLeg1' and 'FloatLeg2' parameters of this function.
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 : "SIMPFLTFLT3"
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.