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|
Obtains an instance that provides no market data.
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 find
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.