public class InterestRateSwaptionProductDescriptor extends Object implements InterestRateProductDescriptor
| Constructor and Description |
|---|
InterestRateSwaptionProductDescriptor(InterestRateSwapProductDescriptor swap,
LocalDate excerciseDate,
double strikeRate)
Construct the descriptor of a swaption from the descriptor of a swap plus option parameters.
|
| Modifier and Type | Method and Description |
|---|---|
LocalDate |
getExcerciseDate()
Return the exercise date of the option.
|
double |
getStrikeRate()
Return the strike rate of the option.
|
InterestRateSwapProductDescriptor |
getUnderlyingSwap()
Return the descriptor of the underlying swap.
|
String |
name()
Return the name of the model represented by this descriptor.
|
Integer |
version()
Return the version of the model description.
|
public InterestRateSwaptionProductDescriptor(InterestRateSwapProductDescriptor swap, LocalDate excerciseDate, double strikeRate)
swap - Descriptor of the underlying swap.excerciseDate - Exercise date of the option as abolute LocalDate.strikeRate - Strike rate of the option.public Integer version()
ProductDescriptorversion in interface ProductDescriptorpublic String name()
ProductDescriptorname in interface ProductDescriptorpublic InterestRateSwapProductDescriptor getUnderlyingSwap()
public LocalDate getExcerciseDate()
public double getStrikeRate()
Copyright © 2019. All rights reserved.