Interface LegalEntityDiscountingMarketData

  • public interface LegalEntityDiscountingMarketData
    Market 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 LegalEntityDiscountingMarketDataLookup to provide a view on MarketData.

    Implementations of this interface must be immutable.

    • Method Detail

      • getValuationDate

        default LocalDate getValuationDate()
        Gets the valuation date.
        the valuation date
      • getMarketData

        MarketData getMarketData()
        Gets the market data.
        the market data
      • withMarketData

        LegalEntityDiscountingMarketData withMarketData​(MarketData marketData)
        Returns a copy of this instance with the specified market data.
        marketData - the market data to use
        a market view based on the specified data
      • discountingProvider

        LegalEntityDiscountingProvider discountingProvider()
        Gets the discounting provider.

        This provides access to repo and issuer curves.

        the discounting provider