コード例 #1
0
 public double nextCoupon(Date settlement)
 {
     if (settlement == null)
     {
         settlement = settlementDate();
     }
     return(CashFlows.nextCouponRate(cashflows_, false, settlement));
 }
コード例 #2
0
ファイル: BondFunctions.cs プロジェクト: igitur/qlnet
        public static double nextCouponRate(Bond bond, Date settlementDate = null)
        {
            if (settlementDate == null)
            {
                settlementDate = bond.settlementDate();
            }

            return(CashFlows.nextCouponRate(bond.cashflows(), false, settlementDate));
        }