32 namespace MarketData {
42 return ordinary<UDT>(3);
49 return ordinary<UDT>(11);
56 return enumeration<SourceVenue>(19);
63 return Size(ordinary<UInt64>(21));
70 return ordinary<UInt64>(29);
78 return Price(ordinary<UInt64>(37));
85 return Price(ordinary<UInt64>(45));
92 return ordinary<UInt64>(53);
99 return enumeration<TradeType>(61);
106 return enumeration<AuctionType>(62);
113 return ordinary<BitField>(63);
120 return enumeration<HiddenExecutionIndicator>(64);
127 return enumeration<TradeQualifier>(65);
136 if(size < messageSize_)
149 ONIXS_EUROTLX_GTP_API
void toStr(std::string&,
const TradeMsg&);
#define ONIXS_EUROTLX_GTP_CONST_OR_CONSTEXPR
Price price() const ONIXS_EUROTLX_GTP_NOTHROW
Price yield() const ONIXS_EUROTLX_GTP_NOTHROW
Yield at which the trade was done, if the instrument trades in yield. Blank if not.
UDT timestamp() const ONIXS_EUROTLX_GTP_NOTHROW
Time the message was generated.
BinaryMessage() ONIXS_EUROTLX_GTP_NOTHROW
Initializes blank instance referencing to nothing.
#define ONIXS_EUROTLX_GTP_NOTHROW
UInt8 BitField
A single byte used to hold up to eight 1-bit flags. Each bit will represent a Boolean flag...
UDT transactionTime() const ONIXS_EUROTLX_GTP_NOTHROW
Execution timestamp as reported by the supported market.
Size executedSize() const ONIXS_EUROTLX_GTP_NOTHROW
Total executed quantity.
static ONIXS_EUROTLX_GTP_CONST_OR_CONSTEXPR MessageSize messageSize_
Total message size.
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.
TradeMsg(const void *data, MessageSize size) ONIXS_EUROTLX_GTP_NOTHROW
Initializes instance over given memory block.
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.
UInt64 tradeID() const ONIXS_EUROTLX_GTP_NOTHROW
Unique identifier of the trade.
AuctionType::Enum auctionType() const ONIXS_EUROTLX_GTP_NOTHROW
BitField flags() const ONIXS_EUROTLX_GTP_NOTHROW
UInt64 instrument() const ONIXS_EUROTLX_GTP_NOTHROW
GTP Instrument identifier.
TradeQualifier::Enum tradeQualifier() const ONIXS_EUROTLX_GTP_NOTHROW
Encapsulates services for manipulating little endian encoded messages.
SourceVenue::Enum sourceVenue() const ONIXS_EUROTLX_GTP_NOTHROW
Venue from which market data is received for the instrument.
UInt64 UDT
time stamp (in UTC) = (date time per second resolution in unix time format) * 1,000,000,000 + (nanoseconds component)
TradeType::Enum tradeType() const ONIXS_EUROTLX_GTP_NOTHROW
ONIXS_EUROTLX_GTP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.
HiddenExecutionIndicator::Enum hiddenExecutionIndicator() const ONIXS_EUROTLX_GTP_NOTHROW
Hidden execution indicator.