T
- type of the event symbol for this event type.public interface LastingEvent<T> extends EventType<T>
Quote
is an up-to-date information about best bid and best offer for
a specific symbol.
Lasting events are conflated for each symbol. Last event for each symbol is always delivered to event listeners on subscription, but intermediate (next-to-last) events are not queued anywhere, they are simply discarded as stale events. More recent events represent an up-to-date information about some external entity.
Lasting events can be used with DXFeed.getLastEvent
and DXFeed.getLastEvents
methods to retrieve last events for each symbol.
Note, that subscription to all lasting events of a specific type via
WildcardSymbol.ALL
symbol object does not benefit from the above
advantages of lasting events.
getEventSymbol, getEventTime, setEventSymbol, setEventTime
Copyright © 2002–2023 Devexperts LLC. All rights reserved.