public interface MarketListener
Modifier and Type | Method and Description |
---|---|
void |
trade(OrderBook book,
Side side,
long price,
long size)
An event indicating that a trade has taken place.
|
void |
update(OrderBook book,
boolean bbo)
An event indicating that an order book has changed.
|
void update(OrderBook book, boolean bbo)
book
- the order bookbbo
- true if the best bid and offer (BBO) has changed, otherwise falseCopyright © 2017. All rights reserved.