Is there anyone know why the Observation lag is 2 months in CPI Bond Unit test?
As far as I know, the lag conversation is 3 months. I wonder if there is a reason to use 2 months. Thank you. // now build the zero inflation curve observationLag = Period(2,Months); ` ` ` cpiTS.linkTo(boost::shared_ptr<ZeroInflationTermStructure>( new PiecewiseZeroInflationCurve<Linear>( evaluationDate, calendar, dayCounter, observationLag, ii->frequency(),ii->interpolated(), baseZeroRate, Handle<YieldTermStructure>(yTS), helpers))); |
Hello, no reason that I can think of. Does the tests still pass if you change it to 3 months? Luigi On Thu, Mar 20, 2014 at 3:14 PM, ycc1107 <[hidden email]> wrote: Is there anyone know why the Observation lag is 2 months in CPI Bond Unit <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Yes, it still pass.
|
I see. We might change it then. Luigi On Wed, Apr 9, 2014 at 4:56 PM, ycc1107 <[hidden email]> wrote: Yes, it still pass. <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |