Interface LegalEntityDiscountingMarketData
-
public interface LegalEntityDiscountingMarketDataMarket data for products based on repo and issuer curves.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
LegalEntityDiscountingMarketDataLookupto provide a view onMarketData.Implementations of this interface must be immutable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LegalEntityDiscountingProviderdiscountingProvider()Gets the discounting provider.LegalEntityDiscountingMarketDataLookupgetLookup()Gets the lookup that provides access to repo and issuer curves.MarketDatagetMarketData()Gets the market data.default LocalDategetValuationDate()Gets the valuation date.LegalEntityDiscountingMarketDatawithMarketData(MarketData marketData)Returns a copy of this instance with the specified market data.
-
-
-
Method Detail
-
getValuationDate
default LocalDate getValuationDate()
Gets the valuation date.- Returns:
- the valuation date
-
getLookup
LegalEntityDiscountingMarketDataLookup getLookup()
Gets the lookup that provides access to repo and issuer curves.- Returns:
- the discounting lookup
-
getMarketData
MarketData getMarketData()
Gets the market data.- Returns:
- the market data
-
withMarketData
LegalEntityDiscountingMarketData withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.- Parameters:
marketData- the market data to use- Returns:
- a market view based on the specified data
-
discountingProvider
LegalEntityDiscountingProvider discountingProvider()
Gets the discounting provider.This provides access to repo and issuer curves.
- Returns:
- the discounting provider
-
-