[ quantlib-Bugs-1909433 ] blackcapfloorengine.cpp

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

[ quantlib-Bugs-1909433 ] blackcapfloorengine.cpp

SourceForge.net
Bugs item #1909433, was opened at 2008-03-07 02:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1909433&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
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]

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

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