Package org.jquantlib.pricingengines.vanilla.finitedifferences

Examples of org.jquantlib.pricingengines.vanilla.finitedifferences.FDEuropeanEngine


                break;
            case JOSHI:
                engine = new BinomialVanillaEngine<Joshi4>(stochProcess, binomialSteps) {};
                break;
            case FiniteDifferences:
                engine = new FDEuropeanEngine(stochProcess, binomialSteps,samples);
                break;
            case Integral:
                engine = new IntegralEngine(stochProcess);
                break;
View Full Code Here


        //
        //

        // Finite differences
        method = "Finite differences";
        europeanOption.setPricingEngine(new FDEuropeanEngine(bsmProcess, timeSteps, timeSteps-1, false));
        bermudanOption.setPricingEngine(new FDBermudanEngine(bsmProcess, timeSteps, timeSteps-1));
        americanOption.setPricingEngine(new FDAmericanEngine(bsmProcess, timeSteps, timeSteps-1, false));
        if (System.getProperty("EXPERIMENTAL") != null) {
            bNPV = bermudanOption.NPV();
        }
View Full Code Here

                break;
            case JOSHI:
                engine = new BinomialVanillaEngine<Joshi4>(Joshi4.class, stochProcess, binomialSteps);
                break;
            case FiniteDifferences:
                engine = new FDEuropeanEngine(stochProcess, binomialSteps,samples);
                break;
            case Integral:
                engine = new IntegralEngine(stochProcess);
                break;
View Full Code Here

TOP

Related Classes of org.jquantlib.pricingengines.vanilla.finitedifferences.FDEuropeanEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.