1 #ifndef jb_mktdata_inside_levels_update_hpp 2 #define jb_mktdata_inside_levels_update_hpp 32 template <std::
size_t N>
34 static constexpr std::uint16_t
mtype =
84 boost::endian::little_uint32_buf_t
bid_qty[N];
98 boost::endian::little_uint32_buf_t
bid_px[N];
137 boost::endian::little_uint8_buf_t
150 #endif // jb_mktdata_inside_levels_update_hpp Define the message name for a inside feed with N levels.
boost::endian::little_uint8_buf_t feed_name[feed_id::feed_name_size]
The name of the feed.
static constexpr std::uint16_t mtype
timestamp feed_ts
Typically each feed provides a timestamp (with feed-specific semantics) for the message, this may be different from the exchange timestamp.
security_id security
The id of the security.
boost::endian::little_uint8_buf_t source_name[feed_id::feed_name_size]
The name of the data source.
static constexpr std::size_t mic_size
The space required to send a "Market Code Identifier" (often "MIC code", as "PIN number").
market_id market
The market this data refers to.
Security identifiers in JayBeam messages.
boost::endian::little_uint16_buf_t message_size
The message size.
Timestamp in JayBeam messages.
A message representing the top N levels of a market.
Market identifier in JayBeam messages.
static constexpr std::size_t normalized_size
The maximum size for normalized security tickers in JayBeams.
Identifiers for market feeds.
timestamp feedhandler_ts
The feedhandler (the software system that processes the feed and generated this message), timestamps the message just before sending it out.
boost::endian::little_uint8_buf_t security_feed[security_id::feed_size]
The ticker as it appears in the feed.
boost::endian::little_uint32_buf_t bid_px[N]
Bid prices, in descending order.
feed_id feed
The name of the feed handler used to parse and generate this data.
timestamp exchange_ts
Typically exchange feeds provide a timestamp (with feed-specific semantics) for the event in the exch...
feed_id source
The source of the data within that feed, some feeds arbitrage between multiple sources for the same d...
boost::endian::little_uint8_buf_t mic[market_id::mic_size]
The ISO-10383 market code.
boost::endian::little_uint32_buf_t bid_qty[N]
The bid quantities, in shares, can be 0 if the level does not exist or is not provided by the exchang...
boost::endian::little_uint32_buf_t sequence_number
The sequence number created by the feed handler.
boost::endian::little_uint32_buf_t offer_px[N]
Offer prices, in ascending order.
annotations_type annotations
The annotations field.
boost::endian::little_uint16_buf_t message_type
The message type, each message in JayBeams receives a unique identifier.
static constexpr std::size_t feed_name_size
The size for a feed name, in bytes.
boost::endian::little_uint8_buf_t security_normalized[security_id::normalized_size]
The JayBeams normalized ticker for the security.
boost::endian::little_uint32_buf_t offer_qty[N]
Offer quantities, in ascending order of prices.
The top-level namespace for the JayBeams library.
static constexpr std::size_t feed_size
The maximum expected size for security tickers in JayBeams.