#define ONIXS_HKEX_OMDC_CONST_OR_CONSTEXPR
#define ONIXS_HKEX_OMDC_NOTHROW
StrRef fixedStr(MessageSize offset) const noexcept
FieldValue ordinary(MessageSize offset) const noexcept
BinaryMessage() noexcept
Initializes blank instance referencing to nothing.
Provides efficient way of accessing text-based FIX field values.
ONIXS_HKEX_OMDC_API void toStr(std::string &, Side::Enum)
Appends string presentation of object.
UInt16 MessageSize
Aliases message length type.
ONIXS_HKEX_OMDC_API void throwIncorrectSize(const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
StockConnectMarketTurnoverMsg(const void *data, MessageSize size) noexcept
Initializes instance over given memory block.
Int64 sellTurnover() const noexcept
Total turnover of Sell trades from the Northbound or Southbound trading (as specified in TradingDirec...
UInt16 msgSize() const noexcept
Size of the message.
StrRef stockConnectMarket() const noexcept
Markets connected under Stock Connect Program.
UInt16 msgType() const noexcept
Type of message.
static constexpr MessageSize messageSize_
Total message size.
Int64 buyTurnover() const noexcept
Total turnover of Buy trades from the Northbound or Southbound trading (as specified in TradingDirect...
StrRef tradingDirection() const noexcept
Trading Direction.
static void validateSize(MessageSize size)
Check the given size.
Int64 buySellTurnover() const noexcept
Sum of the values of BuyTurnover and SellTurnover rounded down to integer.