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