Interface IborCapletFloorletVolatilityDefinition
-
- All Known Implementing Classes:
DirectIborCapletFloorletFlatVolatilityDefinition,DirectIborCapletFloorletVolatilityDefinition,SabrIborCapletFloorletVolatilityBootstrapDefinition,SabrIborCapletFloorletVolatilityCalibrationDefinition,SurfaceIborCapletFloorletVolatilityBootstrapDefinition
public interface IborCapletFloorletVolatilityDefinitionDefinition of caplet volatilities calibration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IborCapFloorLegcreateCap(LocalDate startDate, LocalDate endDate, double strike)Creates a standard cap from start date, end date and strike.SurfaceMetadatacreateMetadata(RawOptionData capFloorData)Creates surface metadata.DayCountgetDayCount()Gets the day count to use.IborIndexgetIndex()Gets the Ibor index for which the data is valid.IborCapletFloorletVolatilitiesNamegetName()Gets the name of these volatilities.
-
-
-
Method Detail
-
getName
IborCapletFloorletVolatilitiesName getName()
Gets the name of these volatilities.- Returns:
- the name
-
getIndex
IborIndex getIndex()
Gets the Ibor index for which the data is valid.- Returns:
- the Ibor index
-
getDayCount
DayCount getDayCount()
Gets the day count to use.- Returns:
- the day count
-
createMetadata
SurfaceMetadata createMetadata(RawOptionData capFloorData)
Creates surface metadata.- Parameters:
capFloorData- the cap/floor data- Returns:
- the surface metadata
-
createCap
default IborCapFloorLeg createCap(LocalDate startDate, LocalDate endDate, double strike)
Creates a standard cap from start date, end date and strike.- Parameters:
startDate- the start dateendDate- the end datestrike- the strike- Returns:
- the cap
-
-