|
From: Luigi B. <lui...@gm...> - 2020-09-23 11:00:00
|
Hi,
the example uses a flat curve just for simplicity; by doing so, it
focuses on the calibration code without adding too much code to set up a
term structure. In a real case, you'd use the full term structure.
Hope this helps,
Luigi
On Wed, Sep 23, 2020 at 11:26 AM oyvfos--- via QuantLib-users <
qua...@li...> wrote:
> Hi,
> It seems to be common practice to use a flat forward rate when
> calibrating the short rate models using QuantLib (example
> <https://github.com/lballabio/QuantLib/blob/940a3b4db517ebae000e968875e7d0483ac901a4/test-suite/shortratemodels.cpp>).
> What is the explanation for that? Is there any rationale for choosing a
> specific forward term? Using the full term structure yields quite different
> results. I am a bit confused. Thanks
>
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|