public interface SwaptionMarketData
This interface exposes the market data necessary for pricing a swaption.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
SwaptionMarketDataLookup |
getLookup()
Gets the lookup that provides access to swaption volatilities.
|
MarketData |
getMarketData()
Gets the market data.
|
default LocalDate |
getValuationDate()
Gets the valuation date.
|
SwaptionVolatilities |
volatilities(RateIndex index)
Gets the volatilities for the specified index.
|
SwaptionMarketData |
withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.
|
default LocalDate getValuationDate()
SwaptionMarketDataLookup getLookup()
MarketData getMarketData()
SwaptionMarketData withMarketData(MarketData marketData)
marketData - the market data to useSwaptionVolatilities volatilities(RateIndex index)
If the index is not found, an exception is thrown.
index - the indexMarketDataNotFoundException - if the index is not foundCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.