Package com.opengamma.analytics.financial.credit.cds

Examples of com.opengamma.analytics.financial.credit.cds.ISDACDSPremium


    for (int loopcoupon = 0; loopcoupon < getPayments().length; loopcoupon++) {
      if (!date.isAfter(getNthPayment(loopcoupon).getPaymentDate())) {
        resultList.add(((ISDACDSCouponDefinition) getNthPayment(loopcoupon)).toDerivative(date, yieldCurveNames));
      }
    }
    return new ISDACDSPremium(resultList.toArray(new ISDACDSCoupon[resultList.size()]));
  }
View Full Code Here


    for (int loopcoupon = 0; loopcoupon < getPayments().length; loopcoupon++) {
      if (!date.isAfter(getNthPayment(loopcoupon).getPaymentDate())) {
        resultList.add(((ISDACDSCouponDefinition) getNthPayment(loopcoupon)).toDerivative(date));
      }
    }
    return new ISDACDSPremium(resultList.toArray(new ISDACDSCoupon[resultList.size()]));
  }
View Full Code Here

TOP

Related Classes of com.opengamma.analytics.financial.credit.cds.ISDACDSPremium

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.