Class HistoricalDepthAggregationEvent
java.lang.Object
velox.api.layer1.datastructure.events.Event
velox.api.layer1.dynamichistory.events.DynamicHistoryEvent
velox.api.layer1.datastructure.events.dynamichistory.HistoricalDepthAggregationEvent
- All Implemented Interfaces:
Serializable,Cloneable,CloneableSerializable,CustomGeneratedEvent
Aggregated market depth for the block's time window.
Values are stored in raw (unconverted) units: PriceSizePair.price() is a price level expressed in
pips, so multiply it by InstrumentInfo.pips to get the actual price; PriceSizePair.size() must
be divided by InstrumentInfo.sizeMultiplier to get the size as displayed to the user.
- See Also:
-
Field Summary
FieldsFields inherited from class velox.api.layer1.dynamichistory.events.DynamicHistoryEvent
timeFrom, timeToFields inherited from class velox.api.layer1.datastructure.events.Event
eventType, sequenceNumber, time -
Constructor Summary
ConstructorsConstructorDescriptionHistoricalDepthAggregationEvent(long timeFrom, long timeTo, int bidsCapacity, int asksCapacity) -
Method Summary
Methods inherited from class velox.api.layer1.datastructure.events.Event
copySequenceNumberTo, getSequenceNumber, getTime, setSequenceNumber
-
Field Details
-
bids
-
asks
-
-
Constructor Details
-
HistoricalDepthAggregationEvent
public HistoricalDepthAggregationEvent(long timeFrom, long timeTo, int bidsCapacity, int asksCapacity)
-
-
Method Details
-
clone
- Specified by:
clonein interfaceCloneableSerializable- Specified by:
clonein classEvent
-