bug in blackcapfloorengine.cpp?
Posted by
Chris Kenyon-2 on
URL: http://quantlib.414.s1.nabble.com/bug-in-blackcapfloorengine-cpp-tp11783.html
(Also in bug tracker.)
Hi,
in blackcapfloorengine.cpp when the type is Collar the optionletsPrice does
not appear to be updated correctly. Since the collar is long a cap and
short a floor should the optionletsPrice also have the floor subtracted as the
value does?
I.e. does a line need adding after 131 as:
optionletsPrice.back() -= temp;
Best regards,
Chris
-------------------------------------------------------------------------
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