8 template <
typename quantity_t,
typename price_t>
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()
15 <<
",quantity=" << x.
quantity.value()
16 <<
",price=" << x.
price.value()
17 <<
",modify_flags=" <<
static_cast<int>(x.
modify_flags.value());
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
boost::endian::little_uint32_buf_t time_offset
boost::endian::little_uint8_buf_t modify_flags
std::ostream & stream_modify_message(std::ostream &os, modify_message< quantity_t, price_t > const &x)
Represent the 'Modify (short)' messages in the PITCH-2.X protocol.
boost::endian::little_uint8_buf_t length
boost::endian::little_uint8_buf_t message_type
Represent the 'Modify' messages in the PITCH-2.X protocol.
boost::endian::little_uint64_buf_t order_id
Represent the 'Modify (long)' messages in the PITCH-2.X protocol.
The top-level namespace for the JayBeams library.