Examples of GammaCreditDefaultSwap


Examples of com.opengamma.analytics.financial.credit.creditdefaultswap.greeks.vanilla.GammaCreditDefaultSwap

    marketSpreads[7] = flatSpread;

    // ----------------------------------------------------------------------------------------------------------------------------------------

    // Create a Gamma calculator object
    final GammaCreditDefaultSwap gamma = new GammaCreditDefaultSwap();

    // Compute the Gamma for a parallel shift
    final double parallelGamma = 0.0; //gamma.getGammaParallelShiftCreditDefaultSwap(valuationDate, cds, yieldCurve, tenors, marketSpreads, spreadBump, spreadBumpType, priceType);

    // ----------------------------------------------------------------------------------------------------------------------------------------
View Full Code Here

Examples of com.opengamma.analytics.financial.credit.creditdefaultswap.greeks.vanilla.GammaCreditDefaultSwap

    marketSpreads[7] = flatSpread;

    // ----------------------------------------------------------------------------------------------------------------------------------------

    // Create a Gamma calculator object
    final GammaCreditDefaultSwap gamma = new GammaCreditDefaultSwap();

    // Compute the Gamma for a parallel shift
    //final double[] bucketedGamma = gamma.getGammaBucketedCreditDefaultSwap(valuationDate, cds, yieldCurve, tenors, marketSpreads, spreadBump, spreadBumpType, priceType);

    // ----------------------------------------------------------------------------------------------------------------------------------------
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.