public class OrderBook extends Object
Modifier and Type | Method and Description |
---|---|
LongSortedSet |
getAskPrices()
Get the ask prices.
|
long |
getAskSize(long price)
Get an ask level size.
|
long |
getBestAskPrice()
Get the best ask price.
|
long |
getBestBidPrice()
Get the best bid price.
|
LongSortedSet |
getBidPrices()
Get the bid prices.
|
long |
getBidSize(long price)
Get a bid level size.
|
long |
getInstrument()
Get the instrument.
|
public long getInstrument()
public long getBestBidPrice()
public LongSortedSet getBidPrices()
public long getBidSize(long price)
price
- the bid pricepublic long getBestAskPrice()
public LongSortedSet getAskPrices()
public long getAskSize(long price)
price
- the ask priceCopyright © 2017. All rights reserved.