Return a Bond's Period Day Count Convention code.
This daycounter is not used for odd short and/or long coupon periods (use
BondAccDayCount() for this).
For a FixedCouponBond, this dayCounter may not actually be used for the coupon periods if the 'exactCoupon' parameter has been enabled.
Please refer to the
CapeTools Enums category of functions where there are many documented Business Day convention enumeration functions.
The Bond object that is to be queried must have been previously created via one of the numerous Bond 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.
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.