Package com.opengamma.analytics.financial.credit.creditdefaultswap.greeks.vanilla

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


    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

Related Classes of com.opengamma.analytics.financial.credit.creditdefaultswap.greeks.vanilla.GammaCreditDefaultSwap

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.