http://quantlib.414.s1.nabble.com/Valuing-CPI-Bond-at-real-yield-curve-tp15354p15355.html
I think you should be able to manage with InterpolatedZeroInflationCurve.
> Hi,
>
> I want to value a CPI Bond using a real, not nominal, yield curve. As I
> understand it, the current CPI Bond methodology requires some CPI indices, a
> zero inflation curve and a nominal yield curve. I don't have all those
> available, but I should be able to input a real curve instead of nominal
> curve (used in discounting) and a flat zero inflation curve consisting of
> rates = 0.
>
> It should give the same value. Conceptually, this method is also the same as
> valuing a fixed rate bond, but with an added inflation ratio adjustment,
> based on the CPI indices.
>
> But I'm struggling to create a zero inflation curve which is basically flat
> and all 0s. I've tried using PiecewiseZeroInflationCurve and with some
> instruments yielding 0s, but I end up with a curve that is not exactly flat
> or zero. I suspect it's a consequence of the historic CPI indices and the
> fact that they're interpolated.
>
> Are there any other ways, besides PiecewiseZeroInflationCurve to construct a
> ZeroInflationCurve?
>
> thanks
> Francois Botha
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
>
http://p.sf.net/sfu/NeoTech> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!