Login  Register

Re: Boostrapping TS in QuantLibXL

Posted by eric ehlers on Mar 28, 2007; 9:34pm
URL: http://quantlib.414.s1.nabble.com/Boostrapping-TS-in-QuantLibXL-tp9311p9314.html

Hi Luigi,

On 3/28/07, Luigi Ballabio <[hidden email]> wrote:

>
> On Mar 28, 2007, at 9:36 PM, eric ehlers wrote:
> > That's basically it.  Existing QuantLibXL books work as follows:
> >
> > 1. create a dummy term structure (say TS1) ;
> > 2. create my Euribor object based on TS1 ;
> > 3. create swap rate helpers based on my Euribor object ;
> > 4. create a term structure (say TS2) ;
> > 5. call qlExtrapolatorEnableExtrapolation() on TS2
> > 6. bootstrap TS2 based on the rate helpers
> > 7. call qlSetEuriborTermStructure to relink all enumerated Euribor
> > objects to TS2 ;
> > 8. we're now ready to price some securities.
>
> Is 5 necessary? During bootstrapping, the curve is extended at each new
> node so that it covers all times needed by the corresponding helper.

There is one example workbook which sets up a swaption, and in that
case if you neglect to call qlExtrapolatorEnableExtrapolation() then
when you ask for the NPV of the swaption it fails with "time (xxx) is
past max curve time (yyy)".  Calling
qlExtrapolatorEnableExtrapolation() fixes the problem so one way or
another that call makes a relevant change to the state of the term
structure, though I don't understand the details.

Regards,
Eric

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev