public class DepthAggregationEvent extends Event
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.Integer,java.lang.Integer> |
asksMap
Map of asks, where key is price level (if multiplied by instrument pips, will give price), and value is size at this level
|
java.util.Map<java.lang.Integer,java.lang.Integer> |
bidsMap
Map of bids, where key is price level (if multiplied by instrument pips, will give price), and value is size at this level
|
| Constructor and Description |
|---|
DepthAggregationEvent(long time) |
| Modifier and Type | Method and Description |
|---|---|
int |
bestBid() |
java.lang.Object |
clone() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getMap(boolean isBid) |
java.lang.String |
toString() |
public java.util.Map<java.lang.Integer,java.lang.Integer> bidsMap
public java.util.Map<java.lang.Integer,java.lang.Integer> asksMap
public java.util.Map<java.lang.Integer,java.lang.Integer> getMap(boolean isBid)
public java.lang.String toString()
toString in class java.lang.Objectpublic int bestBid()
public java.lang.Object clone()
clone in interface CloneableSerializableclone in class Event