Good morning,
just to ensure that I'm not wrong: As far as I was able to find out there is no 'general' SwaptionHelper class having a strike as parameter, right? It does not seem to be a big deal since within the ATM SwaptionHelper class the fairRate of a VanillaSwap is calculated and used as the private excerciseRate_. I would suggest to leave that as an input parameter to be able to use ITM and OTM swaptions as well for calibration purposes. Does that make sense? Best regards Frank -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
OK, I defined a new class GeneralSwaptionHelper parallel to and essentially copied from SwaptionHelper class which carries an additional parameter "const Handle<Quote>& strikeSpread" to which one has to paas a shared_ptr to a strike spread quote taken from smile information from vol cube data (according to sticky strike assumption). Within the class this value is to be added to the .fairRate() from the VanillaSwap which is used to calculate the private excerciseRate_. Done. Seems to work well so far.
Rgds Frank -------- Original-Nachricht -------- > Datum: Wed, 31 Oct 2007 11:18:56 +0100 > Von: "Frank Hövermann" <[hidden email]> > An: [hidden email] > Betreff: [Quantlib-dev] Swaption VolCube calibration > Good morning, > just to ensure that I'm not wrong: As far as I was able to find out there > is no 'general' SwaptionHelper class having a strike as parameter, right? > It does not seem to be a big deal since within the ATM SwaptionHelper class > the fairRate of a VanillaSwap is calculated and used as the private > excerciseRate_. I would suggest to leave that as an input parameter to be able to > use ITM and OTM swaptions as well for calibration purposes. Does that make > sense? > > Best regards > Frank > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > QuantLib-dev mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |