« Return to Thread: CDS example

Re: CDS example

by Luigi Ballabio :: Rate this Message:

Reply to Author | View in Thread

On Wed, 2008-05-14 at 00:24 +0200, japari@... wrote:
> True, in this case one instrument should be enough for *any* interpolation since
> we should have an extra point for todays date but no instrument associated with
> it.

True. Since we have an additional point for today's date (and since this
also holds for all other bootstrapped curves) I changed the check in
IterativeBootstrap so that it requires a number of instruments equal to
the number of required points minus one. The cases that used to work
should be unaffected (since they passed the stricter condition already)
and indeed, the existing test cases still pass.

Thanks for the report.

Luigi


--

Westheimer's Discovery:
A couple of months in the laboratory can frequently save a
couple of hours in the library.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
QuantLib-dev@...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

 « Return to Thread: CDS example