Esempio n. 1
0
        public static CashFlow previousCashFlow(Bond bond, Date refDate = null)
        {
            if (refDate == null)
            {
                refDate = bond.settlementDate();
            }

            return(CashFlows.previousCashFlow(bond.cashflows(), false, refDate));
        }