Hi,
I have an interpolated ZeroInflationIndex. My fixings are supposed to "fix" at the end of each month. So any interpolated value on the end of the month should be equal to the original fixing, i.e. no interpolation occurs. The fixings are applicable from the end of the month back towards the 1st of the same month. The current ZeroInflationIndex implementation assumes that fixings are on the 1st of the month and apply forward to the rest of the month, so lookups to values at the end of the month are slightly off for my use case. I can fix this by adding a suitable parameter, but I want to know whether I should include this in the ZeroInflationIndex class or higher up in the InflationIndex class. Besides ZeroInflationIndex, InterestRateIndex and its subclasses also derive from InflationIndex. I'm unsure whether this change would be applicable for those too. thanks Francois Botha ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hello, I'm ok with coding it in InflationIndex as you did in your pull request. Luigi On Thu, Nov 13, 2014 at 2:26 PM, Francois Botha <[hidden email]> wrote:
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |