Computes a conversion factor for OAT Bond futures.
The conversion factor is computed as the clean price (at the delivery date) which has been computed with a yield-to-maturity value of 3.5% (Yield method is 'ISMA:actact (bond)') divided by 100.
The frequency of the coupon payments is used as the quotation frequency of the yield-to-maturity value.
Thus ensure that the underlying Bond's coupon frequency follows the definition of the Bond futures contract.
The Bond object that is to be queried must have been previously created via one of the FixedCouponBond creation functions within the
CapeTools Bonds,
CapeTools Forward Bonds,
CapeTools Bonds (Yield) or
CapeTools Bonds (Price) category of functions.
These functions would have returned a string 'KEY' which is to be passed to the 'BondKey' parameter of this function.
Please refer to the large number of enumeration functions present within the
CapeTools Enums category of functions.
The
CapeTools Enums category of functions return correct string codes that can be passed to parameters taking fixed string values defined by the library (ie - DayCount codes, frequency codes, currency codes, compounding codes, business day convention codes etc...).
You can thus execute these enumeration functions which return the proper code, instead of trying to remember the string code needed or making spelling mistakes which can be difficult to debug.
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.