Package com.opengamma.analytics.financial.riskreward

Examples of com.opengamma.analytics.financial.riskreward.JensenAlphaCalculator.evaluate()


    final DoubleTimeSeries<?>[] series = TimeSeriesIntersector.intersect(assetReturnTS, riskFreeReturnTS, marketReturnTS);
    assetReturnTS = series[0];
    riskFreeReturnTS = series[1];
    marketReturnTS = series[2];
    final JensenAlphaCalculator calculator = getCalculator(constraints.getValues(ValuePropertyNames.EXCESS_RETURN_CALCULATOR));
    final double alpha = calculator.evaluate(assetReturnTS, riskFreeReturnTS, beta, marketReturnTS);
    final ValueProperties resultProperties = getResultProperties(desiredValues.iterator().next());
    return Sets.newHashSet(new ComputedValue(new ValueSpecification(ValueRequirementNames.JENSENS_ALPHA, targetSpec, resultProperties), alpha));
  }

  @Override
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.