public interface MarketDataView
Implementations provide a high-level view of a single piece of market data. The market data has typically been calibrated, such as a curve or surface. The data is valid on a single valuation date.
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<T> |
findData(MarketDataName<T> name)
Finds the market data with the specified name.
|
LocalDate |
getValuationDate()
Gets the valuation date.
|
LocalDate getValuationDate()
The raw data in this provider is calibrated for this date.
<T> Optional<T> findData(MarketDataName<T> name)
This is most commonly used to find an underlying curve or surface by name. If the market data cannot be found, empty is returned.
T - the type of the market data valuename - the name to findCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.