Capital Markets Adapters 10.3 | Apama Capital Markets Adapters Documentation 10.3 | Citigroup FIX Adapter | Citigroup SpotESP FIX Adapter | MDA Mode | Processing QuoteResponse
 
Processing QuoteResponse
action receiveQuotes(CurrentQuotebookInterface cqbIFace) {

sequence<com.apama.md.client.QuoteEntry> bidEntries := cqbIFace.getRawBids();
sequence<com.apama.md.client.QuoteEntry> askEntries := cqbIFace.getRawAsks();
com.apama.md.EP ep:=cqbIFace.getEP();

//Retrieve QuoteID and Price from Each Entry
com.apama.md.client.QuoteEntry entry;
for entry in bidEntries {
log entry.getQuoteId() at INFO;
log entry.getPrice().toString() at INFO;
log entry.getQuantity().toString() at INFO;
log entry.getEPValuesInterface() at INFO;
}
}