[ quantlib-Bugs-2871959 ] OptionletStripper1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-2871959 ] OptionletStripper1

SourceForge.net
Bugs item #2871959, was opened at 2009-10-02 20:59
Message generated for change (Settings changed) made by lballabio
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Fabio Ramponi (fabioramponi)
>Assigned to: Luigi Ballabio (lballabio)
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

----------------------------------------------------------------------

Comment By: Luigi Ballabio (lballabio)
Date: 2009-10-05 11:16

Message:
The patch was applied to the Subversion repository.
Thank you for the report and the fix.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2871959&group_id=12740

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev