|
From: Ferdinando A. <na...@am...> - 2008-10-22 19:18:56
|
Hi Nicolai > what is the reasoning behind the fact > that one has to create a schedule (for coupons) and provide it to the bond > constructor, instead of providing the necessary information to the bond > constructor and then have it construct the needed schedule? I would reverse the question and ask what would be the reason to have multiple input parameters used for Schedule construction instead of just passing a Schedule, that is a single parameter. Besides it is not rare the case in which the schedule used for the bond might have been originated from a swap, or viceversa > Furthermore when you need the bond yield [...] the need to provide the > Frequency parameter troubles me, because that frequency was allready > provided when the coupon schedule was created. I don't have access to the code right now, but if I remember right the input frequency is used in order to calculate the actual coupon payment from the coupon rate, and it might be different from the frequency used to calculate the yield, e.g. when you want to compare the yield of 2 bonds with different coupon rate frequency and/or schedule hope it helps ciao -- Nando |