public interface IborCapFloorScenarioMarketData
This interface exposes the market data necessary for pricing Ibor caps/floors.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
IborCapFloorMarketDataLookup |
getLookup()
Gets the lookup that provides access to cap/floor volatilities.
|
ScenarioMarketData |
getMarketData()
Gets the market data.
|
int |
getScenarioCount()
Gets the number of scenarios.
|
IborCapFloorMarketData |
scenario(int scenarioIndex)
Returns market data for a single scenario.
|
IborCapFloorScenarioMarketData |
withMarketData(ScenarioMarketData marketData)
Returns a copy of this instance with the specified market data.
|
IborCapFloorMarketDataLookup getLookup()
ScenarioMarketData getMarketData()
IborCapFloorScenarioMarketData withMarketData(ScenarioMarketData marketData)
marketData - the market data to useint getScenarioCount()
IborCapFloorMarketData 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.