Package com.opengamma.analytics.financial.model.option.pricing.fourier

Examples of com.opengamma.analytics.financial.model.option.pricing.fourier.FFTPricer.price()


    final int n = 51;
    final double alpha = -0.5;
    final double tol = 1e-12;

    final double[][] strikeNprice = pricer.price(F0, 1.0, T, true, heston, STRIKE / 2, STRIKE * 2, n, 0.2, alpha, tol);

    final int nStrikes = strikeNprice.length;
    final double[] k = new double[nStrikes];
    final double[] price = new double[nStrikes];

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.