Questions about Calibration and Interpolation?

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

Questions about Calibration and Interpolation?

Le Shi

Hi guys,

 

I’m doing Binominal Tree of Short Rate now. Does anyone know how to use Quantlib to calibrate the binominal tree? Is there any classes or functions that can be used?

 

I heard about there is SPLINE interpolation in Quantlib. Where can I find it?

 

By the way, does Quantlib has class of binomial tree or trinomial tree?

 

Thank you!


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Questions about Calibration and Interpolation?

Luigi Ballabio
On Wed, 2011-01-05 at 09:33 -0600, Le Shi wrote:
> I’m doing Binominal Tree of Short Rate now. Does anyone know how to
> use Quantlib to calibrate the binominal tree? Is there any classes or
> functions that can be used?

For calibration of short-rate models, you can look at
Examples/BermudanSwaption.cpp and work inwards.

> I heard about there is SPLINE interpolation in Quantlib. Where can I
> find it?

<ql/math/interpolations/cubicinterpolation.hpp>

> By the way, does Quantlib has class of binomial tree or trinomial
> tree?

They're in the <ql/methods/lattices> folder.  The existing short rate
models only use trinomial trees, though.

Luigi



--

I hate quotations.
-- Ralph Waldo Emerson



------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users