return symbolMap.get(symbol).get(0);
}
if(db.containsKey(symbol)) {
final InstrumentState instState = InstrumentStateFactory.
newInstrument(symbol);
instState.process(db.get(symbol));
final List<InstrumentState> list = new ArrayList<InstrumentState>();
list.add(instState);
symbolMap.put(symbol, list);
return instState;
}
/* New symbol, create stub */
final InstrumentState instState = InstrumentStateFactory.
newInstrumentFromStub(inst);
final List<InstrumentState> list = new ArrayList<InstrumentState>();
list.add(instState);
symbolMap.put(symbol, list);