public interface BondFutureOptionMarketData
This interface exposes the market data necessary for pricing bond future options.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
BondFutureOptionMarketDataLookup |
getLookup()
Gets the lookup that provides access to bond future volatilities.
|
MarketData |
getMarketData()
Gets the market data.
|
default LocalDate |
getValuationDate()
Gets the valuation date.
|
BondFutureVolatilities |
volatilities(SecurityId securityId)
Gets the volatilities for the specified security ID.
|
BondFutureOptionMarketData |
withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.
|
default LocalDate getValuationDate()
BondFutureOptionMarketDataLookup getLookup()
MarketData getMarketData()
BondFutureOptionMarketData withMarketData(MarketData marketData)
marketData - the market data to useBondFutureVolatilities volatilities(SecurityId securityId)
If the security ID is not found, an exception is thrown.
securityId - the security IDMarketDataNotFoundException - if the security ID is not foundCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.