Package com.opengamma.bbg.livedata

Examples of com.opengamma.bbg.livedata.LoggedReferenceDataProvider


  }

  //-------------------------------------------------------------------------
  @Test
  public void test() {
    LoggedReferenceDataProvider loggedRefDataProvider = new LoggedReferenceDataProvider(s_fudgeContext, _outputFile);
   
    Set<String> securities = Sets.newHashSet("QQQQ US Equity", "/buid/EQ0082335400001000");
    Set<String> fields = Collections.singleton("SECURITY_TYP");
    Map<String, FudgeMsg> refDataMap = loggedRefDataProvider.getReferenceData(securities, fields);
   
    Set<String> testSecurities = refDataMap.keySet();
    assertEquals(2, testSecurities.size());
   
    assertTrue(testSecurities.containsAll(securities));
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.livedata.LoggedReferenceDataProvider

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.