Examples of CappedPowerOptionDefinition


Examples of com.opengamma.analytics.financial.model.option.definition.CappedPowerOptionDefinition

  private double getUncappedPrice(final double power, final boolean isCall) {
    return UNCAPPED_MODEL.getGreeks(getDefinition(power, isCall), BUNDLE, REQUIRED_GREEKS).get(Greek.FAIR_PRICE);
  }

  private CappedPowerOptionDefinition getDefinition(final double power, final double cap, final boolean isCall) {
    return new CappedPowerOptionDefinition(STRIKE, EXPIRY, power, cap, isCall);
  }
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.