TradeAggregationEvent
Package: velox.api.layer1.datastructure.events
Type: Class
Inheritance: java.lang.Object รขโ โ velox.api.layer1.datastructure.events.Event รขโ โ TradeAggregationEvent
All Implemented Interfaces: Serializable, Cloneable, CloneableSerializable, CustomGeneratedEvent
Descriptionโ
Aggregation of trade events in some time interval
See Also:
- Serialized Form
Fieldsโ
bidAggressorMapโ
public Map<Double, Map<Integer, Integer>> bidAggressorMap
Map of trades, where bid is aggressor, where key is price level (if multiplied by instrument pips, will give price), and value is map, describing trades at this level, in following format:
Key: size of trade, value: number of trades of this size
askAggressorMapโ
public Map<Double, Map<Integer, Integer>> askAggressorMap
Map of trades, where ask is aggressor, where key is price level (if multiplied by instrument pips, will give price), and value is map, describing trades at this level, in following format:
Key: size of trade, value: number of trades of this size
lastPriceโ
public double lastPrice
Last trade price (in requested interval). Double.NaN if none.
lastSizeโ
public Integer lastSize
Last trade size (in requested interval). null if none.
lastAggressorBidโ
public Boolean lastAggressorBid
Last trade aggressor (in requested interval). null if none.
Fields inherited from class velox.api.layer1.datastructure.events.Event:
eventTypetime