public void process(Tick mds) {
String mdiId = mds.getMdiId();
if (getInstrumentTable().containsInstrumentId(mdiId)) {
int row = getInstrumentTable().getRowIndexOf(mdiId);
getQuoteTable().setValueAt(mds.getPrice(), row,
QuoteTable.Columns.TRADE.colIdx());
getQuoteTable().setValueAt(mds.getQuantity(), row,
QuoteTable.Columns.TRADESIZE.colIdx());
getQuoteTable().getRowUpdateEvent().fire(row);
getQuoteTable().signalUpdate();
riskCalculator.pricesUpdated(row);
} else {
log.info("Dropping data for unknown instrument. ");
}
}