3 #include <boost/io/ios_state.hpp> 11 return os <<
"length=" <<
static_cast<int>(x.
length.value())
12 <<
",message_type=" << static_cast<int>(x.
message_type.value())
14 <<
",order_id=" << x.
order_id.value()
18 <<
",price=" << x.
price.value();
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
Represent the 'Order Executed at Price/Size' message in the PITCH-2.X protocol.
boost::endian::little_uint64_buf_t order_id
boost::endian::little_uint32_buf_t time_offset
boost::endian::little_uint8_buf_t message_type
boost::endian::little_uint64_buf_t execution_id
boost::endian::little_uint32_buf_t executed_quantity
boost::endian::little_uint64_buf_t price
boost::endian::little_uint32_buf_t remaining_quantity
boost::endian::little_uint8_buf_t length
The top-level namespace for the JayBeams library.