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