PerturbationMapping to a price index

Hi ,
I tried to apply a absolute shift to a priceIndex curve:
PerturbationMapping mapping = PerturbationMapping.of(
CurveParallelShifts.absolute(0,0.01) );

and got an error in the report:

[Unknown curve type for PriceIndexValues, must be ‘NodalCurve’ but was ‘’

Any ideas on how to use perturbation for this curve?

This was an old restriction that no longer needs to apply. I’ve changed it, and it will be available whenever a new release is cut.

1 Like