OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
Users' manual and API documentation
Loading...
Searching...
No Matches
AddModifyOrder Struct Reference

#include <AddModifyOrder.h>

Public Types

enum  

Public Member Functions

 AddModifyOrder ()
 AddModifyOrder (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
AddModifyOrderExtraFlags::Enum extraFlags
int sequenceWithinMillis
DateTime modificationTimestamp
DateTime requestTradingEngineReceivedTimestamp

Detailed Description

Definition at line 36 of file AddModifyOrder.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'E' 

Definition at line 39 of file AddModifyOrder.h.

Constructor & Destructor Documentation

◆ AddModifyOrder() [1/2]

Default constructor.

◆ AddModifyOrder() [2/2]

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

Initializes from raw message data.

Member Function Documentation

◆ deserialize()

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

Deserializes from raw data.

◆ reset()

void reset ( )

Reset all fields to default values.

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ extraFlags

Least significant bit (bit 0), IsModifyOrder: indicates modification of an existing order when set to 1. Bits 1 through 7 are reserved for future use. For backward compatibility, clients should read each flag bit individually. Otherwise problems might occur once bits 1 through 7 are utilized.

Definition at line 81 of file AddModifyOrder.h.

◆ isImplied

bool isImplied

Indicates whether this is an implied order.

Definition at line 66 of file AddModifyOrder.h.

◆ isRFQ

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 AddModifyOrder.h.

◆ marketId

MarketId marketId

Unique identifier of the market.

Definition at line 45 of file AddModifyOrder.h.

◆ modificationTimestamp

DateTime modificationTimestamp

This field can be used to get the order modification time. The format is nanoseconds since Jan 1st, 1970, 00:00:00 GMT. The nanosecond part is currently 000 and might be supported later.

Definition at line 90 of file AddModifyOrder.h.

◆ orderEntryDateTime

DateTime orderEntryDateTime

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

Definition at line 74 of file AddModifyOrder.h.

◆ orderId

OrderId orderId

Unique identifier of the order.

Definition at line 48 of file AddModifyOrder.h.

◆ orderSequenceId

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 AddModifyOrder.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 AddModifyOrder.h.

◆ quantity

int quantity

Quantity.

Definition at line 63 of file AddModifyOrder.h.

◆ requestTradingEngineReceivedTimestamp

DateTime requestTradingEngineReceivedTimestamp

This field can be used to get the time at which the trading engine received the request that triggered this message. The format is nanoseconds since Jan 1st, 1970, 00:00:00 GMT. The nanosecond part is currently 000 and might be supported later. Note: This field may be set to different values or to 0 in some scenarios. Please refer to the FAQs for more details.

Definition at line 98 of file AddModifyOrder.h.

◆ sequenceWithinMillis

int sequenceWithinMillis

Can be used in conjunction with the OrderEntryDateTime field to prioritize orders within the same millisecond.

Definition at line 85 of file AddModifyOrder.h.

◆ side

Side::Enum side

Indicates whether the order is a bid or an offer.

Definition at line 56 of file AddModifyOrder.h.