.append(" EventTime=")
.append(value.updated());
final Top top = value.book().top();
Entry entry = top.ask();
if (!entry.isNull()) {
sb.append(" ASK TOP").append(" price=")
.append(entry.price().asDouble())
.append(" qty=").append(entry.size().asDouble());
}
entry = top.bid();
if (!entry.isNull()) {
sb.append(" BID TOP").append(" price=")
.append(entry.price().asDouble())
.append(" qty=").append(entry.size().asDouble());
}
System.out.println(sb.toString());