final TimeValue time = message.getTime();
/** Update top of book */
{
final PriceValue priceBid = message.getPriceBid();
final PriceValue priceAsk = message.getPriceAsk();
final MarketDoBookEntry entryBid = new DefBookEntry(
MODIFY, Book.Side.BID,
Book.Type.DEFAULT, ENTRY_TOP, priceBid, ValueConst.NULL_SIZE);
final MarketDoBookEntry entryAsk = new DefBookEntry(
MODIFY, Book.Side.ASK,
Book.Type.DEFAULT, ENTRY_TOP, priceAsk, ValueConst.NULL_SIZE);
applyTop(entryBid, time, market);
applyTop(entryAsk, time, market);
}
final PriceValue settle = message.getPriceSettle();
BooleanValue settled = null;
// Check settled flag
if (isClear(settle)) {
settled = ValueConst.FALSE_BOOLEAN;