Hi,
I am trying to calculate Libor sensitivity for Floating Rate Bonds but I don't think that it is a way to do it in Quantlib. (I am trying tocalculate the sensitivity to interest rate movements of a portfolio of fixed and floating rate bonds). If I use the bps functions that appears in Bondfunctions for a FRN then I get sensitivities close to a similar tenor Fixed Rate Bond. Additionally if I look to a vanillaswap I do also get similar bps levels for the floating and fixed leg. I would expect a really low bps for the floating leg. Any help?. Thanks. Lluis ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Sun, 2010-10-17 at 22:40 +0200, LluĂs Pujol wrote:
> I am trying to calculate Libor sensitivity for Floating Rate Bonds but I > don't think that it is a way to do it in Quantlib. (I am trying > tocalculate the sensitivity to interest rate movements of a portfolio of > fixed and floating rate bonds). If I use the bps functions that appears > in Bondfunctions for a FRN then I get sensitivities close to a similar > tenor Fixed Rate Bond. > > Additionally if I look to a vanillaswap I do also get similar bps levels > for the floating and fixed leg. I would expect a really low bps for the > floating leg. That's because the LIBOR fixings are modified, but the discount curve is not (these days, you can't assume they are the same.) If you want to see the cumulative effect, you can: - create your risk-free curve; - wrap it into a ForwardSpreadedTermStructure, with spread initially set to 0 (keep around the SimpleQuote you passed, since you will use it to change the spread afterwards;) - calculate your instrument's NPV; - set the spread to 1 bp; - recalculate the NPV and get the BPS as the difference. Luigi -- The economy depends about as much on economists as the weather does on weather forecasters. -- Jean-Paul Kauffmann ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |