Package com.opengamma.analytics.financial.credit.indexcreditdefaultswap.definition

Examples of com.opengamma.analytics.financial.credit.indexcreditdefaultswap.definition.IndexCreditDefaultSwapDefinition


    // Modify the temp pool object to have the bumped recovery rate vector
    modifiedPool = modifiedPool.withRecoveryRates(bumpedRecoveryRates);

    // Construct a temporary index CDS
    IndexCreditDefaultSwapDefinition tempIndex = indexCDS;

    // Modify the temporary index to have the modified underlying pool
    tempIndex = tempIndex.withUnderlyingPool(modifiedPool);

    // Calibrate the hazard rate term structures of each of the obligors in the pool underlying the index to the bumped recovery rates
    final HazardRateCurve[] bumpedHazardRateCurves = calibrateHazardRateCurves.getCalibratedHazardRateCurves(valuationDate, tempIndex, marketTenors, marketSpreads, yieldCurves);

    // Calculate the bumped value of the index
View Full Code Here


      // Modify the temp pool object to have the bumped recovery rate vector
      modifiedPool = modifiedPool.withRecoveryRates(bumpedRecoveryRates);

      // Construct a temporary index CDS
      IndexCreditDefaultSwapDefinition tempIndex = indexCDS;

      // Modify the temporary index to have the modified underlying pool
      tempIndex = tempIndex.withUnderlyingPool(modifiedPool);

      // Calibrate the hazard rate term structures of each of the obligors in the pool underlying the index to the bumped recovery rates
      final HazardRateCurve[] bumpedHazardRateCurves = calibrateHazardRateCurves.getCalibratedHazardRateCurves(valuationDate, tempIndex, marketTenors, marketSpreads, yieldCurves);

      // Calculate the bumped value of the index
View Full Code Here

TOP

Related Classes of com.opengamma.analytics.financial.credit.indexcreditdefaultswap.definition.IndexCreditDefaultSwapDefinition

Copyright © 2018 www.massapicom. 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.