32 namespace MarketData {
42 return Size(ordinary<UInt64>(3));
49 return Price(ordinary<UInt64>(11));
56 return Price(ordinary<UInt64>(19));
63 return ordinary<UInt16>(27);
72 if(size < messageSize_)
#define ONIXS_EUROTLX_GTP_CONST_OR_CONSTEXPR
static ONIXS_EUROTLX_GTP_CONST_OR_CONSTEXPR MessageSize messageSize_
Total message size.
BinaryMessage() ONIXS_EUROTLX_GTP_NOTHROW
Initializes blank instance referencing to nothing.
#define ONIXS_EUROTLX_GTP_NOTHROW
static void validateSize(MessageSize size)
Check the given size.
FixedPointDecimal< Int64, IntegralConstant< Int8,-8 > > Price
Signed Little-Endian encoded 64bit integer field with eight implied decimal places.
UInt16 MessageSize
Aliases message length type.
ONIXS_EUROTLX_GTP_API void throwIncorrectSize(const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
FixedPointDecimal< UInt64, IntegralConstant< Int8,-8 > > Size
Little-Endian encoded 64 bit unsigned integer with eight implied decimal places.
Size size() const ONIXS_EUROTLX_GTP_NOTHROW
Displayed size of the order.
UInt16 splits() const ONIXS_EUROTLX_GTP_NOTHROW
Number of orders at this price point.
Price price() const ONIXS_EUROTLX_GTP_NOTHROW
Limit price of the order. Implied price if instrument trades in yield.
Price yield() const ONIXS_EUROTLX_GTP_NOTHROW
Yield, if the instrument trades in yield.
Encapsulates services for manipulating little endian encoded messages.
AddOrderShortMBPMsg(const void *data, MessageSize size) ONIXS_EUROTLX_GTP_NOTHROW
Initializes instance over given memory block.
ONIXS_EUROTLX_GTP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.