public interface RatesMarketData
This interface exposes the market data necessary for pricing rates products,
such as Swaps, FRAs and FX.
It uses a RatesMarketDataLookup to provide a view on MarketData.
Implementations of this interface must be immutable.
| Modifier and Type | Method and Description |
|---|---|
default FxRateProvider |
fxRateProvider()
Gets the FX rate provider.
|
RatesMarketDataLookup |
getLookup()
Gets the lookup that provides access to discount curves and forward curves.
|
MarketData |
getMarketData()
Gets the market data.
|
default LocalDate |
getValuationDate()
Gets the valuation date.
|
RatesProvider |
ratesProvider()
Gets the rates provider.
|
RatesMarketData |
withMarketData(MarketData marketData)
Returns a copy of this instance with the specified market data.
|
default LocalDate getValuationDate()
RatesMarketDataLookup getLookup()
MarketData getMarketData()
RatesMarketData withMarketData(MarketData marketData)
marketData - the market data to useRatesProvider ratesProvider()
This provides access to discount curves, forward curves and FX.
default FxRateProvider fxRateProvider()
This provides access to FX rates. By default, this returns the rates provider.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.