Esempio n. 1
0
 public static Date maturityDate(Bond bond)
 {
     return(CashFlows.maturityDate(bond.cashflows()));
 }
Esempio n. 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));
 }
Esempio n. 3
0
 public static Date startDate(Bond bond)
 {
     return(CashFlows.startDate(bond.cashflows()));
 }