|
From: SourceForge.net <no...@so...> - 2009-10-02 20:33:00
|
Bugs item #2871959, was opened at 2009-10-02 20:59 Message generated for change (Tracker Item Submitted) made by fabioramponi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2871959&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Fabio Ramponi (fabioramponi) Assigned to: Nobody/Anonymous (nobody) Summary: OptionletStripper1 Initial Comment: in the class OptionletStripper1, if I specify a specific switchStrike in the constructor, the private variable atmOptionletRate_ won't be filled with the forward rates: these forward rates are anyway needed for the calculation of optionletStDevs_, causing an error. I would suggest to move the line 84 of optionletstripper1.cpp to the previous for loop (let's say around line 75). In this way, the forward rates would be calculated even if I specify a fixed switchRate. attached you'll find the version of the file I'm actually using. Regards, Fabio Ramponi ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2871959&group_id=12740 |