PiecewiseYieldCurve, YieldTermStructure

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

PiecewiseYieldCurve, YieldTermStructure

gbogaert
Dear all,

I would like to understand better how QuantLib calculates a zero curve
with the class PieceWiseYieldCurve etc. Could you please give me some
example of readings to understand the rationale behind?
I read the documentation written by M. Ballabio and I recently bought
the book written by M. Mercurio et al. but I am not sure that is enough.

Thank you in advance for your hints.

Have a nice week.

Regards,
Gilles Bogaert
The information in this e-mail is confidential and may be legally privileged. It is intended
solely for the addressee. Access to this e-mail by anyone else is unauthorized. If you have
received this communication in error, please address with the subject heading "Received in
error," send back to the sender, then delete the e-mail and destroy any copies of it. If you
are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions or
advice contained in this e-mail are subject to the terms and conditions expressed in the
governing KPMG client engagement letter. Opinions, conclusions and other information in this
e-mail and any attachments that do not relate to the official business of the firm are
neither given nor endorsed by it. KPMG cannot guarantee that e-mail communications are secure
or error-free, as information could be intercepted, corrupted, amended, lost, destroyed,
arrive late or incomplete, or contain viruses.
 
KPMG is the Luxembourg member firm of KPMG international. KPMG International is a Swiss
cooperative that serves as a coordinating entity for a network of independent firms operating
under the KPMG name. KPMG International provides no services to clients. Each member firm of
KPMG International is a legally distinct and separate entity and each describes itself as
such. Information about the structure and jurisdiction of your local KPMG member firm can be
obtained from your KPMG representative.

This footnote also confirms that this e-mail message has been swept by AntiVirus software for
the presence of computer viruses. However, the ultimate responsibility for virus checking
lies with the recipient of this e-mail.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: PiecewiseYieldCurve, YieldTermStructure

gbogaert
Dear QL users and developers,

Further question: When I create my ratehelper objects(deposit and
swaps), I give all the specifications concerning these rates. Then I
create the object PiecewiseYieldCurve giving this vector of ratehelper
objects in order to get the zero rates back at certain dates. I have not
found/understood yet where the bootstrapping is done. Where do you
calculate back the different yield from the ratehelpers and where it is
interpolated? Could you just tell me the name of the classes, I will
look at them afterwards and try to understand?

Thanks in advance for your help.

Gilles
The information in this e-mail is confidential and may be legally privileged. It is intended
solely for the addressee. Access to this e-mail by anyone else is unauthorized. If you have
received this communication in error, please address with the subject heading "Received in
error," send back to the sender, then delete the e-mail and destroy any copies of it. If you
are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions or
advice contained in this e-mail are subject to the terms and conditions expressed in the
governing KPMG client engagement letter. Opinions, conclusions and other information in this
e-mail and any attachments that do not relate to the official business of the firm are
neither given nor endorsed by it. KPMG cannot guarantee that e-mail communications are secure
or error-free, as information could be intercepted, corrupted, amended, lost, destroyed,
arrive late or incomplete, or contain viruses.
 
KPMG is the Luxembourg member firm of KPMG international. KPMG International is a Swiss
cooperative that serves as a coordinating entity for a network of independent firms operating
under the KPMG name. KPMG International provides no services to clients. Each member firm of
KPMG International is a legally distinct and separate entity and each describes itself as
such. Information about the structure and jurisdiction of your local KPMG member firm can be
obtained from your KPMG representative.

This footnote also confirms that this e-mail message has been swept by AntiVirus software for
the presence of computer viruses. However, the ultimate responsibility for virus checking
lies with the recipient of this e-mail.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: [Quantlib-dev] PiecewiseYieldCurve, YieldTermStructure

Luigi Ballabio
On Wed, 2009-08-05 at 10:01 +0200, Bogaert, Gilles wrote:
> Further question: When I create my ratehelper objects(deposit and
> swaps), I give all the specifications concerning these rates. Then I
> create the object PiecewiseYieldCurve giving this vector of ratehelper
> objects in order to get the zero rates back at certain dates. I have not
> found/understood yet where the bootstrapping is done. Where do you
> calculate back the different yield from the ratehelpers and where it is
> interpolated? Could you just tell me the name of the classes, I will
> look at them afterwards and try to understand?

The calculation is triggered by
PiecewiseYieldCurve::performCalculation(), that delegates it to the
bootstrapper. The latter is chosen by means of the last template
argument to PiecewiseYieldCurve and by default is the IterativeBootstrap
class. Its method calculate() does the bootstrap and sets the data
members of PiecewiseYieldCurve to the results. Depending on what you're
interpolating, they might be inherited from InterpolatedZeroCurve or
some other Interpolated...Curve class.

Luigi


--

I am extraordinarily patient, provided I get my own way in the end.
-- Margaret Thatcher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users