Problem solved: ql ois curve bootstrapping

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem solved: ql ois curve bootstrapping

Grison PG Pierre (External DEXIA-US)
Hi all,

My problem has been solved by a friendly ql user. Problem came from inputs which were not in the right unit (bps instead of real value).

I have still a problem with the first three pillars (1D, 2D, 3D) : because of workday conventions, these swaps have, for QL, the same maturity. It's another problem in the makeois.cpp file because the line

endDate = startDate+swapTenor_;

does not works for maturities inferior to one week... Usually, people do not use swap rate for the lowest pillar of the discount curve, so the problem should not raise. Do you also have an idea for this problem?

I think I could fix it directly  in my code by adding a test on maturity and, for instance, changing the 2d into a 4d (weekend jump) and the 3d into a 5d... Or just using the ql calendar to do it.

Best,

Pierre

-----Original Message-----
From: PORTOLAN Stefano [mailto:[hidden email]]
Sent: Thursday, September 04, 2014 12:12 PM
To: Grison PG Pierre (External DEXIA-US)
Subject: RE: [Quantlib-users] ql ois curve bootstrapping

Hi Pierre,

Very good that I could help!

By the way, I think you just answer to me, but maybe the it could be helpful for the mailing list to have the entire thread of the conversation.
All this blabla simply to beg your pardon and ask you to directly copy and paste here your answer (with the new questions).

I think I have a partial question to the first, but not as satisfying as I would like ...

I will think a minute on it, ok?

Cheers.
Stefano



-----Original Message-----
From: Grison PG Pierre (External DEXIA-US) [mailto:[hidden email]]
Sent: jeudi 4 septembre 2014 18:05
To: PORTOLAN Stefano
Subject: RE: [Quantlib-users] ql ois curve bootstrapping

Hi Stefano,

Thank you so much, it was the cause of the problem! You have being a great help.

There is also problems with the first three pillars (1D, 2D, 3D) : because of workday conventions, these swaps have, for QL, the same maturity. It's another problem in the makeois.cpp file because the line

endDate = startDate+swapTenor_;


does not works for maturities inferior to one week... Usually, people do not use swap rate for the lowest pillar of the discount curve, so the problem should not raise. Do you also have an idea for this problem?

Best,

Pierre



-----Original Message-----
From: Stefano Portolan [mailto:[hidden email]]
Sent: Thursday, September 04, 2014 11:45 AM
To: [hidden email]
Subject: Re: [Quantlib-users] ql ois curve bootstrapping

Hi Pierre,

I don't know whether I can be of any help but at the beginning, while playing out with boostrapping ratehelpers, I got the same problem.
I got rid of it simply noting that I was putting WRONG rate values: In order to put a quoted 0.04 (%!!!) as 1.e-4 or 0.0004, I was simply giving 0.04 ...
something like 4%.

I don't know if it applies to your case, but I see that with a 3 year maturity you are boostrapping quotes ranging between 0.1 and 0.9 ... is it right at first place?

Hoping being of some help :P

Best.
Stefano



--
View this message in context: http://quantlib.10058.n7.nabble.com/ql-ois-curve-bootstrapping-tp15827p15828.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954
_____________________________________________________________________________


Our 2013 Overview Report <http://www.efa.eu/documents/10136/35401/2013+Annual+Overview> is now available !



Follow us:
<http://www.linkedin.com/company/european-fund-administration>  <https://twitter.com/EFA_tweet>.



The information in this e-mail message and/ or its attachments is confidential and may be legally privileged, thus any disclosure, copying, distribution or any action taken or omitted to be taken in reliance thereon may be strictly prohibited and unlawful. If you are not the intended recipient, please notify us immediately and destroy this e-mail and its attachments. Considering the various risks involved when sending emails through the Internet, EFA will not be liable in any case for damages and claims due to the risks of this communication channel (e.g. non or late delivery, message corruption, inadvertent disclosure). Any views or opinions presented in this email and/or its attachments are solely those of the author and do not necessarily represent those of the company, consequently, EFA may not be held liable for its content unless confirmed subsequently in writing.



European Fund Administration SA | 2 rue d'Alsace, P.O. Box 1725,  L-1017 Luxembourg | Tel: +352 48 48 80 80 | www.efa.eu <http://www.efa.eu>



Please consider the environment before printing this e-mail

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www-935.ibm.com/services/us/index.wss/offerfamily/iss/a1026954
_____________________________________________________________________________

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users