FLTBondDetails





http://www.QuantTools.com
CapeTools Query Bonds function list

Welcome | Documentation format | QuantTools Groups | QuantTools Categories | Licence

Key TAGs | Excel Index | API Index



Return the FloatingRateBond's cashflows and other extended details.

The Bond object that is to be queried must have been previously created via one of the numerous FloatingRateBond creation functions present within the CapeTools Bonds, CapeTools Bonds (Yield), CapeTools Bonds (Price) or CapeTools Forward Bonds category of functions.

These functions would have returned a string 'KEY' which is to be passed to the 'BondKey' parameter of this function.



Note: Within Excel, the function is named - CT.BOND.FLTBondDetails




High level graphic of FLTBondDetails() function with parameters. Blue square node is the actual function with the parameters ordered.



Parameter Description


  1. BondKey parameter

    Key Handle to an already constructed BOND object (FloatingRateBond object).


Extended information

Function Syntax

VB Syntax


Variant CTQryBonds.FLTBondDetails( _
String BondKey)


Excel Spreadsheet Syntax


=CT.BOND.FLTBondDetails(
Excel String Cell BondKey)


C++ Syntax


static CTRangeDataCPP FLTBondDetails(
std::string BondKey);


DotNET Syntax


CTRangeData CTQryBondsSA.FLTBondDetails(
System.String BondKey);

Parameter data types

ArgNameArgTypeIsKey
BondKeyStringTRUE


Example Inputs

The first column represents the name of the parameters. The second column specifies whether the parameters are optional or not. Finally the last column provides some sample input data.
Function call input string-keys are always in the format : "NAME.EXTTAG.TICKER" The "EXTTAG.TICKER" part is determined from the output of other, capetools, object creation functions.


ArgNameIsOptional (Excel only)Example
BondKeyFALSEBondKeyNAME.EXTTAG.TICKER (from a function call)


Example function usage


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.


If you are accessing this functrion via the MiniXL libraries, this function is present within the CT.QL.Bonds20 MiniXL Excel Addin.

Within our Excel Example Addin Generator, we have used the following QuantTools sub-functions in order to prepare the arguments needed to call the FLTBondDetails() function. If you are executing this function via the MiniXL libraries, the module addin name, (in brackets, to the right of the sub-functions listed below), indicates the MiniXL library in which the sub-function is held. You will need to load this library into your Excel session (along with any other libraries that the sub-function call within the addin requires (ie - CT.QT.Utils20 addin in almost all cases) in order for the example to compute successfully.

These are the financial QuantTools sub-function calls that are used within the examples :





The objects generated by these sub-functions are inter-connected in the following way :




The following four examples demostrate calling this function within a Microsoft .NET environment

The following four examples demostrate calling this function within a non .NET environment

The following is a sample output from executing the FLTBondDetails() function call


Example
StartDateEndDateCouponCashFlowPVCashFlowDCFs
38463385540.03510.88250.8823310.999808
38554386460.035950.903750.8955410.990917
38646387380.03700620.9301550.9132710.981849
38738388280.03811290.9603220.9341910.972789
38828389190.03887870.9794680.943750.963533
38919390110.04054831.021210.9740730.953845
39011391030.04094831.031210.9736260.944162
39103391930.04134831.041210.9732060.934691
39193392840.04174831.051210.9724930.925121
39284393760.04467861.124461.028790.914919
39376394680.04517861.136961.028620.904704
39468395590.04567861.149461.028310.894601
39559396500.04617861.161961.027760.884501
39650397420.0487251.225631.0710.873841
39742398340.0493251.240621.070880.86318
39834399240.0499251.255631.070730.85275
39924400150.04602561.158140.976480.843144
40015401070.04602851.158210.9654180.833542
40107401990.04602851.158210.9544230.824049
40199402890.04602281.158070.9436730.814867
40289403800.04602561.158140.9330990.805687
40380404720.04504381.13360.9031440.796707
40472405640.04504381.13360.8930770.787827
40564406540.04503841.133460.8832320.779235
40654407450.04504111.133530.8735460.770644
40745408370.04504381.13360.8638620.762054
40837409290.04504931.133730.8543360.753561
40929410200.04504111.133530.8447640.745252
41020411110.04504111.133530.835450.737035
41111412030.04546791.14420.8338290.728745
41203412950.04546791.14420.8244480.720546
41295413850.04546521.144130.8153240.712615
41385414760.04546521.144130.806250.704685
41476415680.04546791.14420.7972280.696757
41568416600.04546791.14420.7882580.688918
41660417500.04546521.144130.7795350.681335
41750418410.04546521.144130.7708590.673752
41841419330.04619621.16240.7742210.666051
41933420250.04620421.16260.7655020.658437
42025421150.0461984101.16265.86410.651073



Copyright (c) 2003-2007 CapeTools - All Rights Reserved.