Class DepthAggregationEvent
java.lang.Object
velox.api.layer1.datastructure.events.Event
velox.api.layer1.datastructure.events.DepthAggregationEvent
- All Implemented Interfaces:
Serializable,Cloneable,CloneableSerializable,CustomGeneratedEvent
Aggregation of depth events in some time interval
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap of asks, where key is price level (if multiplied by instrument pips, will give price), and value is size at this levelMap of bids, where key is price level (if multiplied by instrument pips, will give price), and value is size at this level -
Constructor Summary
ConstructorsConstructorDescriptionDepthAggregationEvent(long time) DepthAggregationEvent(long time, int bidsCapacity, int asksCapacity) -
Method Summary
-
Field Details
-
bidsMap
Map of bids, where key is price level (if multiplied by instrument pips, will give price), and value is size at this level -
asksMap
Map of asks, where key is price level (if multiplied by instrument pips, will give price), and value is size at this level
-
-
Constructor Details
-
DepthAggregationEvent
public DepthAggregationEvent(long time) -
DepthAggregationEvent
public DepthAggregationEvent(long time, int bidsCapacity, int asksCapacity)
-
-
Method Details