Login  Register

Re: Unable to bootstrap USD 3M libor curve

Posted by Luigi Ballabio on Jun 01, 2017; 10:24am
URL: http://quantlib.414.s1.nabble.com/Unable-to-bootstrap-USD-3M-libor-curve-tp18312p18319.html

Hello,
    it probably depends on the way the basis is quoted.  Is it a spread to add to the 3M leg in order to equal the OIS leg, or the other way around?

Luigi


On Mon, May 29, 2017 at 6:49 PM Sumit Sengupta <[hidden email]> wrote:
Thanks a lot Luigi. That works fine.

Can you please comment if I am doing the OIS (FF discounting) correctly? I am taking the basis swaps between O/N FF and 3M USD Libor and taking the:-

OIS rate = 3M USD Libor - spread

Is this as simple as this or do I need to do something else?

Thanks,
Sumit

On 29 May 2017 at 14:25, Luigi Ballabio <[hidden email]> wrote:
Hello Sumit,
    as far as I can see, you're using self.helpers to store the list of helpers for both bootstraps. When you bootstrap the OIS curve, you fill self.helpers with the OIS swap helpers.  When you bootstrap the Libor curve, you don't clean it up and add the Libor helpers (line 48, `self.helpers += [...]`).  This way, the second curve tries to bootstrap over both the Libor and OIS swaps and can't find rates that fit all of them.  To avoid mixups, I'd use two different variables for the two sets of helpers.

Hope this helps,
    Luigi


On Sun, May 28, 2017 at 11:37 PM Sumit Sengupta <[hidden email]> wrote:
Hi;

   I recently purchased the pdf book quantlib python cookbook by Luigi Ballabio

   I have been trying to bootstrap a USD 3M libor curve using a OIS (FF) discounting curve, but it keeps failing.

 Please see code attached.

  Can someone please help me?

Thanks
Sumit

-- 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



--
Quant Strategist
(CFA, FRM)

mobile <a href="tel:+44%207961%20839363" value="+447961839363" target="_blank">+44 (0)7961839363
1 Royal Exchange • EC3V 3DG London • UK

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users