/src/main/java/net/finmath/marketdata/products/Deposit.java
return ( discountFactorPayout/discountFactor | 1.) /periodLength;
return ( discountFactorPayout/discountFactor - 1. ) /periodLength;
} final double payoutDate = schedule.getPeriodStart(0); final double maturity = schedule.getPayment(0); final double periodLength = schedule.getPeriodLength(0); final double discountFactor = discountCurve.getDiscountFactor(model, maturity); final double discountFactorPayout = discountCurve.getDiscountFactor(model, payoutDate); <extra_id_0> } public Schedule getSchedule() { return schedule; } public String getDiscountCurveName() { return discountCurveName;