public class Deposit extends AbstractAnalyticProduct implements AnalyticProductInterface
| Constructor and Description |
|---|
Deposit(ScheduleInterface schedule,
double rate,
String discountCurveName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDiscountCurveName() |
double |
getFixingTime() |
double |
getPeriodEndTime() |
double |
getRate() |
double |
getRate(AnalyticModelInterface model)
Return the deposit rate implied by the given model's curve.
|
ScheduleInterface |
getSchedule() |
double |
getValue(double evaluationTime,
AnalyticModelInterface model)
Return the valuation of the product using the given model.
|
String |
toString() |
getValue, getValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValuepublic Deposit(ScheduleInterface schedule, double rate, String discountCurveName)
schedule - The schedule of the deposit consisting of one period, providing start, payment and periodLength.rate - The deposit rate.discountCurveName - The discount curve name.public double getValue(double evaluationTime,
AnalyticModelInterface model)
AnalyticProductInterfaceAnalyticModelInterface.getValue in interface AnalyticProductInterfaceevaluationTime - The evaluation time as double. Cash flows prior and including this time are not considered.model - The model under which the product is valued.public double getRate(AnalyticModelInterface model)
model - The given model containing the curve of name discountCurveName.public ScheduleInterface getSchedule()
public String getDiscountCurveName()
public double getRate()
public double getPeriodEndTime()
public double getFixingTime()
Copyright © 2017. All rights reserved.