net.finmath.marketdata.model.volatilities
Interface AbstractSwaptionMarketData
-
- All Known Implementing Classes:
- SwaptionMarketData
public interface AbstractSwaptionMarketDataBasic interface to be implemented by classes providing swaption market data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description TimeDiscretizationInterfacegetOptionMaturities()doublegetSwapPeriodLength()TimeDiscretizationInterfacegetTenor()doublegetValue(double optionMaturity, double tenorLength, double periodLength, double strike)Returns the option price of a swaption for a given option maturity and tenor length.doublegetVolatility(double optionMaturity, double tenorLength, double periodLength, double strike)Returns the option implied volatility of a swaption for a given option maturity and tenor length.
-
-
-
Method Detail
-
getOptionMaturities
TimeDiscretizationInterface getOptionMaturities()
-
getTenor
TimeDiscretizationInterface getTenor()
-
getSwapPeriodLength
double getSwapPeriodLength()
-
getValue
double getValue(double optionMaturity, double tenorLength, double periodLength, double strike)Returns the option price of a swaption for a given option maturity and tenor length.- Parameters:
optionMaturity- The option maturity.tenorLength- The tenor length.periodLength- The period length of the floating rate period.strike- The strike (swap) rate.- Returns:
- The option price.
-
getVolatility
double getVolatility(double optionMaturity, double tenorLength, double periodLength, double strike)Returns the option implied volatility of a swaption for a given option maturity and tenor length.- Parameters:
optionMaturity- The option maturity.tenorLength- The tenor length.periodLength- The period length of the floating rate period.strike- The strike (swap) rate.- Returns:
- The implied volatility.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG