#include <MarketSnapshotOrder.h>
Public Types | |
| enum | |
Public Member Functions | |
| MarketSnapshotOrder () | |
| MarketSnapshotOrder (const char *data, std::size_t dataSize) | |
| void | deserialize (const char *data, std::size_t dataSize) |
| void | reset () |
| std::string | toString () const |
Public Attributes | |
| MarketId | marketId |
| OrderId | orderId |
| short | orderSequenceId |
| Side::Enum | side |
| Price | price |
| int | quantity |
| bool | isImplied |
| bool | isRFQ |
| DateTime | orderEntryDateTime |
| int | sequenceWithinMillis |
Definition at line 36 of file MarketSnapshotOrder.h.
| anonymous enum |
Message type constant.
| Enumerator | ||
|---|---|---|
| messageType | 'D' | |
Definition at line 39 of file MarketSnapshotOrder.h.
Default constructor.
| MarketSnapshotOrder | ( | const char * | data, |
| std::size_t | dataSize ) |
Initializes from raw message data.
| void deserialize | ( | const char * | data, |
| std::size_t | dataSize ) |
Deserializes from raw data.
| void reset | ( | ) |
Reset all fields to default values.
| std::string toString | ( | ) | const |
Returns string representation.
| bool isImplied |
Indicates whether this is an implied order.
Definition at line 66 of file MarketSnapshotOrder.h.
| bool isRFQ |
Indicates whether this is an RFQ. Clients should filter the order when RFQs are not of interest.
Definition at line 70 of file MarketSnapshotOrder.h.
| MarketId marketId |
Unique identifier of the market.
Definition at line 45 of file MarketSnapshotOrder.h.
| DateTime orderEntryDateTime |
Order entry date and time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 74 of file MarketSnapshotOrder.h.
| OrderId orderId |
Unique identifier of the order.
Definition at line 48 of file MarketSnapshotOrder.h.
| short orderSequenceId |
Sequence ID of the order. When an order is modified, this counter is incremented while OrderID remains the same. It is retained for legacy reasons and can be ignored.
Definition at line 53 of file MarketSnapshotOrder.h.
| Price price |
Price of the bid/offer. OrderPriceDenominator for the market should be applied to get the real price.
Definition at line 60 of file MarketSnapshotOrder.h.
| int quantity |
Quantity.
Definition at line 63 of file MarketSnapshotOrder.h.
| int sequenceWithinMillis |
Can be used in conjunction with the OrderEntryDateTime field to prioritize orders within the same millisecond.
Definition at line 78 of file MarketSnapshotOrder.h.
| Side::Enum side |
Indicates whether the order is a bid or an offer.
Definition at line 56 of file MarketSnapshotOrder.h.