public interface ObservableDataProvider
This plugin point allows a market data supplier to be provided. Implementations might request data from an external data provider, such as Bloomberg or Reuters.
| Modifier and Type | Method and Description |
|---|---|
static ObservableDataProvider |
none()
Obtains an instance that provides no market data.
|
Map<ObservableId,Result<Double>> |
provideObservableData(Set<? extends ObservableId> identifiers)
Provides market data for the specified identifiers.
|
static ObservableDataProvider none()
When invoked, the provider will return a map where every requested identifier is a failure.
Map<ObservableId,Result<Double>> provideObservableData(Set<? extends ObservableId> identifiers)
The implementation will provide market data for each identifier. If market data cannot be obtained for an identifier, a failure will be returned. The returned map must contain one entry for each identifier that was requested.
identifiers - the market data identifiers to findCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.