Re: Output zero rates can differ from the input rates by quite a bit

Posted by StephenWong on
URL: http://quantlib.414.s1.nabble.com/Output-zero-rates-can-differ-from-the-input-rates-by-quite-a-bit-tp6690p6694.html


Luigi Ballabio wrote
On Fri, 2011-11-04 at 06:36 -0700, StephenWong wrote:
> > What do you mean "feeding zero rates into the PiecewiseYieldCurve"?
> > You don't feed zero rates in that, you feed deposit rates, swap rates,
> > futures... Do you mean some other class?

> Yes Luigi you are right! I meant feeding those rates into the
> PiecewiseYieldCurve through a bunch of DepositRateHelpers.

Then I rather expect you won't get the same rates if you ask the curve
for zero rates.  They have different conventions.

Luigi
_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users
But I used the same day count convention in the DepositRateHelpers and in the YieldTermStructure::zeroRate call.