Class DepthAggregationEvent

java.lang.Object
velox.api.layer1.datastructure.events.Event
velox.api.layer1.datastructure.events.DepthAggregationEvent
All Implemented Interfaces:
Serializable, Cloneable, CloneableSerializable, CustomGeneratedEvent

public class DepthAggregationEvent extends Event
Aggregation of depth events in some time interval
See Also:
  • Field Details

    • bidsMap

      public Map<Integer,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
    • asksMap

      public Map<Integer,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
  • Constructor Details

    • DepthAggregationEvent

      public DepthAggregationEvent(long time)
    • DepthAggregationEvent

      public DepthAggregationEvent(long time, int bidsCapacity, int asksCapacity)
  • Method Details