[ quantlib-Bugs-3417114 ] BS call option price lower than intrinsic value

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

[ quantlib-Bugs-3417114 ] BS call option price lower than intrinsic value

SourceForge.net
Bugs item #3417114, was opened at 2011-10-02 21:52
Message generated for change (Tracker Item Submitted) made by fancidev
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3417114&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: R Y (fancidev)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS call option price lower than intrinsic value

Initial Comment:
Compile and run the following program in Visual Studio 2010 produces the bug.

#include <iostream>
#include <ql/pricingengines/blackformula.hpp>

using namespace QuantLib;

static void TestBlackScholesBound()
{
        double F = 1.35;
        double K = 0.39;
        double stdev = 0.12;
        double c = blackFormula(Option::Call, K, F, stdev);
        if (c < (F - K))
        {
                std::cerr << "Error: Option price = " << c << ", Lower Bound = "
                        << (F - K) << std::endl;
        }
}

int main()
{
        TestBlackScholesBound();
        system("PAUSE");
}


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

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev