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,