Hi All,
After using Quantlibxl to build the yield curve successfully, I am now planning to use the curve to price different bonds. Firstly I want to calculate the par coupon for an existing bond or a dummy bond, so that I can have a review on the par yield curve in current market. After scanning in the Quantlibxl doc, I found the function qlBondAtmRateFromYieldTermStructure may meet my purpose. The description of the function says it return “ATM rate implied by the given YieldTermStructure” which in my opinion is just the par coupon. However the actual returned value is very strange, the number can’t be the par coupon. I can’t guess what the returned value means. It is hard to describeit in the mail, so I attach a sample sheet which shows my problem.
In the sample sheet, firstly I set up a dummy curve with flat forward rates as 0.05. Then I built several bonds with different maturities starting just today. After that, by using qlBondAtmRateFromYieldTermStructure , I expected to get the par coupon with each bond( in this case, the number should be around 0.05). Unfortunately, the returned number doesn’t seem to be consistent with my assumption. Finally I rebuilt these bonds with the returned value and re-priced these bonds with the flat curve. The value is not equal to 100 as expected…
Does anyone have faced the same issue?
Regards,
Cheng
Free forum by Nabble | Edit this page |