Package org.openfeed.proto.inst

Examples of org.openfeed.proto.inst.Symbol


     
      if(bar != null) {
        Symbol.Builder b = Symbol.newBuilder();
        b.setVendor(VendorID.BARCHART.toString());
        b.setSymbol(bar);
        final Symbol symbol = b.build();
        builder.addSymbols(symbol);
      }
     
      // NOTE: Hard coded for CQG
      final String cqg = xmlStringDecode(ats, ALT_SYMBOL, XML_PASS);
     
      if(cqg != null) {
        Symbol.Builder b = Symbol.newBuilder();
        b.setVendor(DDF_RxInstrumentProvider.CQG_VENDOR_ID.toString());
        b.setSymbol(cqg);
        final Symbol symbol = b.build();
        builder.addSymbols(symbol);
      }
     
      /* market free style description; can be used in full text search */
      builder.setDescription(String.valueOf(xmlStringDecode(ats, SYMBOL_COMMENT,
View Full Code Here


      if (bar != null) {
        final Symbol.Builder b = Symbol.newBuilder();
        b.setVendor(VendorID.BARCHART.toString());
        b.setSymbol(bar);
        final Symbol symbol = b.build();
        builder.addSymbols(symbol);
      }

      /* Barchart historical symbol, used for historical data queries */
      final String hist = xmlStringDecode(ats, SYMBOL_HIST, XML_PASS);
     
      if (hist != null) {
        final Symbol.Builder b = Symbol.newBuilder();
        b.setVendor(VendorID.BARCHART_HISTORICAL.toString());
        b.setSymbol(hist);
        final Symbol symbol = b.build();
        builder.addSymbols(symbol);
      }

      // NOTE: Hard coded for CQG
      final String cqg = xmlStringDecode(ats, ALT_SYMBOL, XML_PASS);

      if (cqg != null) {
        final Symbol.Builder b = Symbol.newBuilder();
        b.setVendor(DDF_RxInstrumentProvider.CQG_VENDOR_ID.toString());
        b.setSymbol(cqg);
        final Symbol symbol = b.build();
        builder.addSymbols(symbol);
      }

      /* market free style description; can be used in full text search */
      builder.setDescription(String.valueOf(xmlStringDecode(ats,
 
View Full Code Here

TOP

Related Classes of org.openfeed.proto.inst.Symbol

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.