public interface OvernightFutureOptionMarketData
This interface exposes the market data necessary for pricing an Overnight future option.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
OvernightFutureOptionMarketDataLookup |
getLookup()
Gets the lookup that provides access to Overnight future option volatilities.
|
MarketData |
getMarketData()
Gets the market data.
|
default LocalDate |
getValuationDate()
Gets the valuation date.
|
OvernightFutureOptionVolatilities |
volatilities(OvernightIndex index)
Gets the volatilities for the specified Overnight index.
|
OvernightFutureOptionMarketData |
withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.
|
default LocalDate getValuationDate()
OvernightFutureOptionMarketDataLookup getLookup()
MarketData getMarketData()
OvernightFutureOptionMarketData withMarketData(MarketData marketData)
marketData - the market data to useOvernightFutureOptionVolatilities volatilities(OvernightIndex index)
If the index is not found, an exception is thrown.
index - the Overnight 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.