OnixS C++ SGX Titan OUCH Trading Handler  1.2.0
API documentation
OrderAccepted Struct Reference

#include <OnixS/SgxTitan/Trading/OUCH/Messages/OrderAccepted.h>

Collaboration diagram for OrderAccepted:

Public Member Functions

DateTime timestamp () const
 
StrRef orderToken () const throw ()
 
Binary4 orderBookId () const throw ()
 
Side::Enum side () const throw ()
 
Binary8 orderId () const throw ()
 
Binary8 quantity () const throw ()
 
BinaryPrice price () const throw ()
 
TimeInForce::Enum timeInForce () const throw ()
 
ReplaceOrderOpenClose::Enum openClose () const throw ()
 
StrRef clientAccount () const throw ()
 
OrderState::Enum orderState () const throw ()
 
StrRef customerInfo () const throw ()
 
StrRef exchangeInfo () const throw ()
 
Binary8 preTradeQuantity () const throw ()
 
Binary8 displayQuantity () const throw ()
 
Binary2 stpKey () const throw ()
 
OrderType::Enum orderType () const throw ()
 
StrRef reserved () const throw ()
 
 OrderAccepted (const void *data, MessageSize size) throw ()
 
- Public Member Functions inherited from IncomingMessage
 IncomingMessage (const void *data, MessageSize size) throw ()
 
InboundMessageTypes::Enum type () const throw ()
 
- Public Member Functions inherited from BinaryMessage< BigEndianConverter >
 BinaryMessage (const void *data, MessageSize size) throw ()
 
ONIXS_SGX_OUCH_CONSTEXPR BinaryMessage (const BinaryMessage &other) throw ()
 
const void * binary () const throw ()
 
MessageSize binarySize () const throw ()
 
BinaryMessageoperator= (const BinaryMessage &other) throw ()
 

Static Public Member Functions

static void validateSize (MessageSize size)
 

Static Public Attributes

static const MessageSize messageSize_ = 136
 

Additional Inherited Members

- Public Types inherited from BinaryMessage< BigEndianConverter >
typedef MessageSize BinarySize
 
- Protected Member Functions inherited from BinaryFields< BinaryMessage, BigEndianConverter >
FieldValue ordinary (BlockSize offset) const throw ()
 
const FieldValue & ordinaryRef (BlockSize offset) const throw ()
 
Enumeration::Enum enumeration (BlockSize offset) const throw ()
 
StrRef fixedStr (BlockSize offset) const throw ()
 

Detailed Description

Acknowledges the receipt and acceptance of a valid Enter Order Message

Definition at line 29 of file OrderAccepted.h.

Constructor & Destructor Documentation

OrderAccepted ( const void *  data,
MessageSize  size 
)
throw (
)
inline

Initializes instance over given memory block.

Definition at line 172 of file OrderAccepted.h.

Member Function Documentation

StrRef clientAccount ( ) const
throw (
)
inline

Mandatory in SGX-DT and validated in Matching Engine.

Definition at line 97 of file OrderAccepted.h.

StrRef customerInfo ( ) const
throw (
)
inline

Pass-thru field.

Definition at line 111 of file OrderAccepted.h.

Binary8 displayQuantity ( ) const
throw (
)
inline

The displayed quantity in case the order is a reserve order or zero if the order is not a reserve order

Definition at line 134 of file OrderAccepted.h.

StrRef exchangeInfo ( ) const
throw (
)
inline

Pass-thru field.

Definition at line 118 of file OrderAccepted.h.

ReplaceOrderOpenClose::Enum openClose ( ) const
throw (
)
inline

Defines the position update for the account.

Definition at line 89 of file OrderAccepted.h.

Binary4 orderBookId ( ) const
throw (
)
inline

Order book ID.

Definition at line 45 of file OrderAccepted.h.

Binary8 orderId ( ) const
throw (
)
inline

The identifier assigned to the new order. Note that the number is only unique per Order book and side.

Definition at line 61 of file OrderAccepted.h.

OrderState::Enum orderState ( ) const
throw (
)
inline

Order State.

Definition at line 104 of file OrderAccepted.h.

StrRef orderToken ( ) const
throw (
)
inline

Order Token.

Definition at line 38 of file OrderAccepted.h.

OrderType::Enum orderType ( ) const
throw (
)
inline

OUCH Order Type.

Definition at line 148 of file OrderAccepted.h.

Binary8 preTradeQuantity ( ) const
throw (
)
inline

The pre-trade quantity.

Definition at line 125 of file OrderAccepted.h.

BinaryPrice price ( ) const
throw (
)
inline

Signed integer price.

Definition at line 75 of file OrderAccepted.h.

Binary8 quantity ( ) const
throw (
)
inline

Quantity currently open in the book.

Definition at line 68 of file OrderAccepted.h.

StrRef reserved ( ) const
throw (
)
inline

Reserved for future use.

Definition at line 155 of file OrderAccepted.h.

Side::Enum side ( ) const
throw (
)
inline

Side.

Definition at line 52 of file OrderAccepted.h.

Binary2 stpKey ( ) const
throw (
)
inline

The Self Trade Protection Key.

Definition at line 141 of file OrderAccepted.h.

TimeInForce::Enum timeInForce ( ) const
throw (
)
inline

Time In Force.

Definition at line 82 of file OrderAccepted.h.

DateTime timestamp ( ) const
inline

UNIX Time.

Definition at line 32 of file OrderAccepted.h.

static void validateSize ( MessageSize  size)
inlinestatic

Check the given size.

Definition at line 165 of file OrderAccepted.h.

Member Data Documentation

const MessageSize messageSize_ = 136
static

Total message size.

Definition at line 162 of file OrderAccepted.h.


The documentation for this struct was generated from the following file: