public interface LegalEntityDiscountingMarketData
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 MarketData.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
LegalEntityDiscountingProvider |
discountingProvider()
Gets the discounting provider.
|
LegalEntityDiscountingMarketDataLookup |
getLookup()
Gets the lookup that provides access to repo and issuer curves.
|
MarketData |
getMarketData()
Gets the market data.
|
default LocalDate |
getValuationDate()
Gets the valuation date.
|
LegalEntityDiscountingMarketData |
withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.
|
default LocalDate getValuationDate()
LegalEntityDiscountingMarketDataLookup getLookup()
MarketData getMarketData()
LegalEntityDiscountingMarketData withMarketData(MarketData marketData)
marketData - the market data to useLegalEntityDiscountingProvider discountingProvider()
This provides access to repo and issuer curves.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.