Examples of FlatSmileSection


Examples of org.jquantlib.termstructures.volatilities.FlatSmileSection

    @Override
    protected SmileSection smileSectionImpl(final Date d) {

        final double /* Volatility */atmVol = volatility_.currentLink().value();
        return new FlatSmileSection(d, atmVol, dayCounter(), referenceDate());
    }
View Full Code Here

Examples of org.jquantlib.termstructures.volatilities.FlatSmileSection

    }

    @Override
    protected SmileSection smileSectionImpl(final double optionTime) {
        final double /* Volatility */atmVol = volatility_.currentLink().value();
        return new FlatSmileSection(optionTime, atmVol, dayCounter());
    }
View Full Code Here

Examples of org.jquantlib.termstructures.volatilities.FlatSmileSection

  @Override
    protected SmileSection smileSectionImpl(/* @Time */final double t) {
    // dummy strike
    final double atmVol = blackCurve.blackVol(t, 0.05, true);
    return new FlatSmileSection(t, atmVol, dayCounter());
  }
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.