Bugs item #1909433, was opened at 2008-03-07 11:27
Message generated for change (Comment added) made by lballabio
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1909433&group_id=12740Please 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: Nobody/Anonymous (nobody)
>Assigned to: Ferdinando Ametrano (nando)
Summary: blackcapfloorengine.cpp
Initial Comment:
Hi,
in blackcapfloorengine.cpp when the type is Collar the optionletsPrice is not updated correctly (at all in fact). Since the collar is long a cap and short a floor the optionletsPrice should have the floor subtracted as the value does. I.e. a line needs adding after 131 as:
optionletsPrice.back() -= temp;
Best regards,
Chris Kenyon
[hidden email]
----------------------------------------------------------------------
Comment By: Luigi Ballabio (lballabio)
Date: 2008-03-07 21:44
Message:
Logged In: YES
user_id=75450
Originator: NO
The bug is now fixed in CVS.
Thank you for the report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1909433&group_id=12740-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev