Package com.opengamma.bbg.historicaltimeseries

Examples of com.opengamma.bbg.historicaltimeseries.BloombergHistoricalTimeSeriesProvider


  private static final String PX_LAST = "PX_LAST";

  @BeforeMethod
  public void setUp() throws Exception {
    BloombergConnector connector = BloombergTestUtils.getBloombergConnector();
    _provider = new BloombergHistoricalTimeSeriesProvider(connector);
    _source = new BloombergHistoricalTimeSeriesSource(_provider);
    _provider.start();
  }
View Full Code Here


  private CacheManager _cacheManager;

  //-------------------------------------------------------------------------
  @Override
  protected HistoricalTimeSeriesProvider initHistoricalTimeSeriesProvider(ComponentRepository repo) {
    BloombergHistoricalTimeSeriesProvider provider = new BloombergHistoricalTimeSeriesProvider(getBloombergConnector());
    if (getCacheManager() == null) {
      return provider;
    }
    repo.registerLifecycle(provider);
    return new EHCachingHistoricalTimeSeriesProvider(provider, getCacheManager());
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.historicaltimeseries.BloombergHistoricalTimeSeriesProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.