예제 #1
0
 public static double cleanPrice(Bond bond, InterestRate yield, Date settlementDate = null)
 {
     return(dirtyPrice(bond, yield, settlementDate) - bond.accruedAmount(settlementDate));
 }