public interface FxOptionScenarioMarketData
This interface exposes the market data necessary for pricing FX options.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
FxOptionMarketDataLookup |
getLookup()
Gets the lookup that provides access to FX options volatilities.
|
ScenarioMarketData |
getMarketData()
Gets the market data.
|
int |
getScenarioCount()
Gets the number of scenarios.
|
FxOptionMarketData |
scenario(int scenarioIndex)
Returns market data for a single scenario.
|
FxOptionScenarioMarketData |
withMarketData(ScenarioMarketData marketData)
Returns a copy of this instance with the specified market data.
|
FxOptionMarketDataLookup getLookup()
ScenarioMarketData getMarketData()
FxOptionScenarioMarketData withMarketData(ScenarioMarketData marketData)
marketData - the market data to useint getScenarioCount()
FxOptionMarketData scenario(int scenarioIndex)
This returns a view of the market data for the specified scenario.
scenarioIndex - the scenario indexIndexOutOfBoundsException - if the scenario index is invalidCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.