public interface LegalEntityDiscountingScenarioMarketData
This interface exposes the market data necessary for pricing bond products,
such as fixing coupon bonds, capital indexed bonds and bond futures.
It uses a LegalEntityDiscountingMarketDataLookup to provide a view on ScenarioMarketData.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
LegalEntityDiscountingMarketDataLookup |
getLookup()
Gets the lookup that provides access to repo and issuer curves.
|
ScenarioMarketData |
getMarketData()
Gets the market data.
|
int |
getScenarioCount()
Gets the number of scenarios.
|
LegalEntityDiscountingMarketData |
scenario(int scenarioIndex)
Returns market data for a single scenario.
|
LegalEntityDiscountingScenarioMarketData |
withMarketData(ScenarioMarketData marketData)
Returns a copy of this instance with the specified market data.
|
LegalEntityDiscountingMarketDataLookup getLookup()
ScenarioMarketData getMarketData()
LegalEntityDiscountingScenarioMarketData withMarketData(ScenarioMarketData marketData)
marketData - the market data to useint getScenarioCount()
LegalEntityDiscountingMarketData 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.