Login  Register

[quantlibXL] yield curves testing

Posted by Matteo Castagna on Dec 20, 2006; 7:25pm
URL: http://quantlib.414.s1.nabble.com/quantlibXL-yield-curves-testing-tp5169.html

I'm trying to learn how to use several functions related to interest
rate products. In order to do so I'm creating a yield curve structure
using the qlPiecewiseYieldCurve() function, from that structure I can
derive qlDiscount() and qlForwardRate() vectors. I'm trying to use those
discount factors and forward rates in order to create new interest rate
structures and with those get the qlParRate() for maturities I used
under the very first step.
All ok with the curve I define using qlDiscount() factors: qlParRates()
are very very close to the original input. Unfortunately it's not so for
the par rates I get using the curve defined using the forward rates. I
already checked several times the options I'm using (DayCount and
CompoudingRule) just in case I made some mistake there but it looks like
there's none.
Any help is welcome.
Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sourceforge.net/mailarchive/forum.php?forum=quantlib-users/attachments/20061220/bcf6f5fc/attachment.html