Hi Francois,
yes, you have to use June's 30 days. This is corresponding to the
question I sent earlier (see below), the second (Murex) way of doing
the interpolation is the correct one.
Do you have a fix for that ? This would be great.
best
Peter
I am comparing Murex and QuantLib concerning Inflation Pricing. I
observe a difference in the way an index fixing is interpolated
between known (i.e. already fixed) values. Here is an example:
Take the EUHICP XT index which has fixings
01.08.2012 (Aug 12) 115.10
01.09.2012 (Sep 12) 115.97
Now I want to look up the fixing on 28.08.2012 belonging to an
observation date on 28.11.2012 (3m observation lag). In QL the
interpolation is done as follows:
Days between 01.08. and 01.09. = 31, Days between 01.08. and 28.08. =
27, Interpolated Fixing = 115.10 + 27/31 * ( 115.97 - 115.10 )
In Murex on the opposite:
Days between 01.11. and 01.12. = 30, Days between 01.11. and 28.11. =
27, Interpolated Fixing = 115.10 + 27/30 * ( 115.97 - 115.10 )
> ------------------------------------------------------------------------------
On 18 June 2014 16:50, Francois Botha <[hidden email]> wrote:
> Hi,
>
> I think the interpolation in ZeroInflationIndex::fixing isn't exactly
> correctly.
>
> Consider a linearly interpolated Zero Inflation Index with observation lag
> of 4 months. If the reference date is in June, the observation date will be
> in February, which has only 28 days. I believe the interpolation should use
> June's 30 days instead of February's 28 days. As it is, the interpolation
> will be "maxed out" by 28 June and will remain flat until 30 June. Do you
> guys agree?
>
> regards
> Francois Botha
>
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
Free forum by Nabble | Disable Popup Ads | Edit this page |