public class TopOfTheOrderBookUpdatedEventArgs<T extends ImpliedPriceLevel> extends Object implements SecurityId, SendingTimeEventArgs
Constructor and Description |
---|
TopOfTheOrderBookUpdatedEventArgs(BookBase<T> book,
long receivingTimestamp,
biz.onixs.cme.sbe.IMessage message,
long seqNum,
long sendingTime)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getBestAsk()
Best ask price level.
|
T |
getBestBid()
Best bid price level.
|
OrderBookType |
getBookType()
Order book type.
|
long |
getMessageSequenceNumber()
Message sequence number.
|
long |
getReceiveTime()
Message receive time.
|
int |
getSecurityId()
Security ID.
|
long |
getSendingTime()
Message sending time.
|
org.joda.time.LocalDate |
getTradeDate()
Trade date.
|
String |
toString()
Convert object to string representation.
|
public TopOfTheOrderBookUpdatedEventArgs(BookBase<T> book, long receivingTimestamp, biz.onixs.cme.sbe.IMessage message, long seqNum, long sendingTime)
book
- Order bookreceivingTimestamp
- Message receive timemessage
- FIX messageseqNum
- packet sequence numbersendingTime
- packet sending timepublic OrderBookType getBookType()
public int getSecurityId()
getSecurityId
in interface SecurityId
public T getBestBid()
public T getBestAsk()
public long getReceiveTime()
public long getSendingTime()
getSendingTime
in interface SendingTimeEventArgs
public long getMessageSequenceNumber()
public org.joda.time.LocalDate getTradeDate()
biz.onixs.cme.sbe.exceptions.TagNotFoundException
- field was not found in message schemaCopyright © 2010–2020 Onix Solutions. All rights reserved.