Esempio n. 1
0
        public double atmRate(YieldTermStructure discountCurve)
        {
            bool includeSettlementDateFlows = false;
            Date settlementDate             = discountCurve.referenceDate();

            return(CashFlows.atmRate(floatingLeg_, discountCurve, includeSettlementDateFlows, settlementDate));
        }
Esempio n. 2
0
 public virtual double atmRate(YieldTermStructure discountCurve)
 {
     return(CashFlows.atmRate(yoyLeg_, discountCurve,
                              false, discountCurve.referenceDate()));
 }