Пример #1
0
 public static Date maturityDate(Bond bond)
 {
     return(CashFlows.maturityDate(bond.cashflows()));
 }
Пример #2
0
 public static double yieldValueBasisPoint(Bond bond, double yield, DayCounter dayCounter, Compounding compounding,
                                           Frequency frequency, Date settlementDate = null)
 {
     return(CashFlows.yieldValueBasisPoint(bond.cashflows(), new InterestRate(yield, dayCounter, compounding, frequency), false, settlementDate));
 }
Пример #3
0
 public static Date startDate(Bond bond)
 {
     return(CashFlows.startDate(bond.cashflows()));
 }