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

Examples of com.opengamma.analytics.financial.credit.creditdefaultswap.definition.vanilla.CreditDefaultSwapDefinition.withRecoveryRate()


    // Extract the underlying CDS from the CDS Swaption contract
    CreditDefaultSwapDefinition modifiedCDS = getUnderlyingCDS();

    // Modify the recovery rate of the underlying CDS
    modifiedCDS = modifiedCDS.withRecoveryRate(recoveryRate);

    // Return the modified CDS Swaption contract
    return new CreditDefaultSwapOptionDefinition(
        getBuySellProtection(),
        getProtectionBuyer(),
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.