OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
MarketSnapshotOrder Struct Reference

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

Detailed Description

Definition at line 36 of file MarketSnapshotOrder.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'D' 

Definition at line 39 of file MarketSnapshotOrder.h.

Constructor & Destructor Documentation

◆ MarketSnapshotOrder() [1/2]

Default constructor.

◆ MarketSnapshotOrder() [2/2]

MarketSnapshotOrder ( const char * data,
std::size_t dataSize )

Initialize from raw message data.

Member Function Documentation

◆ deserialize()

void deserialize ( const char * data,
std::size_t dataSize )

Deserialize from raw data.

◆ reset()

void reset ( )

Reset all fields to default values.

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ isImplied

bool isImplied

Indicate if this is an implied order or not.

Definition at line 66 of file MarketSnapshotOrder.h.

◆ isRFQ

bool isRFQ

Indicate whether it is just an RFQ or not. Client should filter the order if it doesn't care about RFQ.

Definition at line 70 of file MarketSnapshotOrder.h.

◆ marketId

MarketId marketId

Unique identifier of the market.

Definition at line 45 of file MarketSnapshotOrder.h.

◆ orderEntryDateTime

DateTime orderEntryDateTime

Order entry date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.

Definition at line 73 of file MarketSnapshotOrder.h.

◆ orderId

OrderId orderId

Unique identifier of the order.

Definition at line 48 of file MarketSnapshotOrder.h.

◆ orderSequenceId

short orderSequenceId

Sequence ID of the order. When an order is modified, this will be incremented while OrderID remains the same. It is for legacy reason and can be ignored.

Definition at line 53 of file MarketSnapshotOrder.h.

◆ price

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.

◆ quantity

int quantity

Quantity.

Definition at line 63 of file MarketSnapshotOrder.h.

◆ sequenceWithinMillis

int sequenceWithinMillis

Can be used in conjunction with OrderEntryDateTime field for priority of orders within same milliseconds time.

Definition at line 77 of file MarketSnapshotOrder.h.

◆ side

Side::Enum side

Tells whether order represents bid or offer.

Definition at line 56 of file MarketSnapshotOrder.h.