Examples of VolatilityCurve


Examples of com.opengamma.analytics.financial.model.volatility.curve.VolatilityCurve

    final VolatilityTermStructure vc = getVolCurve(lsRes.getFitParameters().getData());
    return new CapletStrippingSingleStrikeResult(chiSqr, lsRes.getFitParameters(), vc, new DoubleMatrix1D(mPrices));
  }

  private VolatilityTermStructure getVolCurve(final double[] capletVols) {
    return new VolatilityCurve(InterpolatedDoublesCurve.from(getPricer().getCapletExpiries(), capletVols, _interpolator));
  }
View Full Code Here

Examples of com.opengamma.analytics.financial.model.volatility.curve.VolatilityCurve

          return capletVols[-index - 1];
        }
      }
    };

    return new VolatilityCurve(FunctionalDoublesCurve.from(func));
  }
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.