OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
ReferencePriceMsg Struct Reference

Public Member Functions

UInt16 msgSize () const noexcept
UInt16 msgType () const noexcept
UInt32 securityCode () const noexcept
Int32 referencePrice () const noexcept
Int32 lowerPrice () const noexcept
Int32 upperPrice () const noexcept
 ReferencePriceMsg (const void *data, MessageSize size) noexcept
Public Member Functions inherited from BinaryMessage
 BinaryMessage () noexcept
 BinaryMessage (const void *data, MessageSize size) noexcept
 BinaryMessage (const BinaryMessage &other) noexcept
 operator bool () const noexcept
const void * binary () const noexcept
MessageSize binarySize () const noexcept
BinaryMessageoperator= (const BinaryMessage &other) noexcept

Static Public Member Functions

static void validateSize (MessageSize size)

Static Public Attributes

static constexpr MessageSize messageSize_ = 20

Additional Inherited Members

Public Types inherited from BinaryMessage
typedef MessageSize BinarySize
Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
const SubMessage submessage (MessageSize offset, MessageSize size) const noexcept
FieldValue ordinary (MessageSize offset) const noexcept
const FieldValue & ordinaryRef (MessageSize offset) const noexcept
Enumeration::Enum enumeration (MessageSize offset) const noexcept
StrRef fixedStr (MessageSize offset) const noexcept

Detailed Description

Definition at line 36 of file ReferencePrice.h.

Constructor & Destructor Documentation

◆ ReferencePriceMsg()

ReferencePriceMsg ( const void * data,
MessageSize size )
inlinenoexcept

Initializes instance over given memory block.

Definition at line 93 of file ReferencePrice.h.

Member Function Documentation

◆ lowerPrice()

Int32 lowerPrice ( ) const
inlinenoexcept

Lower price limit of at-auction Limit sell order in POS No Cancellation and Random Matching periods Lower price of the allowed price band for order input in CAS.

Definition at line 68 of file ReferencePrice.h.

◆ msgSize()

UInt16 msgSize ( ) const
inlinenoexcept

Size of the message.

Definition at line 39 of file ReferencePrice.h.

◆ msgType()

UInt16 msgType ( ) const
inlinenoexcept

Type of message.

Definition at line 46 of file ReferencePrice.h.

◆ referencePrice()

Int32 referencePrice ( ) const
inlinenoexcept

Reference price of the security for order input in POS and CAS.

Definition at line 60 of file ReferencePrice.h.

◆ securityCode()

UInt32 securityCode ( ) const
inlinenoexcept

Uniquely identifies a security available for trading.

Definition at line 53 of file ReferencePrice.h.

◆ upperPrice()

Int32 upperPrice ( ) const
inlinenoexcept

Upper price limit of at-auction Limit buy order in POS No Cancellation and Random Matching periods Upper price of the allowed price band for order input in CAS.

Definition at line 76 of file ReferencePrice.h.

◆ validateSize()

void validateSize ( MessageSize size)
inlinestatic

Check the given size.

Definition at line 86 of file ReferencePrice.h.

Member Data Documentation

◆ messageSize_

MessageSize messageSize_ = 20
staticconstexpr

Total message size.

Definition at line 83 of file ReferencePrice.h.