public static double?previousCashFlowAmount(Bond bond, Date refDate = null) { if (refDate == null) { refDate = bond.settlementDate(); } return(CashFlows.previousCashFlowAmount(bond.cashflows(), false, refDate)); }
public static double?previousCashFlowAmount(Bond bond, Date refDate = null) { if (refDate == null) { refDate = bond.settlementDate(); } return(CashFlows.previousCashFlowAmount(bond.cashflows(), false, refDate)); }