inputs to yield term structures

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

inputs to yield term structures

Slava D
guys,

I am wondering how do you set up correctly Calendar in some YieldTermStructures - say at ZeroCurve.

its c-tor takes only dates, yields, dayCounter and interpolator.
there is no function to set the calendar.


do you always have to derive from ZeroCurve?

many thanks,

Slava
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: inputs to yield term structures

Luigi Ballabio
On Fri, 2009-12-04 at 11:38 +0000, [hidden email] wrote:
> I am wondering how do you set up correctly Calendar in some
> YieldTermStructures - say at ZeroCurve.
>
> its c-tor takes only dates, yields, dayCounter and interpolator.
> there is no function to set the calendar.

There are other constructors that take a calendar, at least in the C++
version---are you using C++ or some bindings?

Luigi


--

Glendower: I can call spirits from the vasty deep.
Hotspur: Why, so can I, or so can any man;
But will they come when you do call for them?
-- King Henry the Fourth Part I, Act III, Scene I



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev