JayBeams  0.1
Another project to have fun coding.
order_executed_price_message.cpp
Go to the documentation of this file.
2 
3 #include <boost/io/ios_state.hpp>
4 #include <ostream>
5 
6 namespace jb {
7 namespace pitch2 {
8 
9 std::ostream&
10 operator<<(std::ostream& os, order_executed_price_message const& x) {
11  return os << "length=" << static_cast<int>(x.length.value())
12  << ",message_type=" << static_cast<int>(x.message_type.value())
13  << ",time_offset=" << x.time_offset.value()
14  << ",order_id=" << x.order_id.value()
15  << ",executed_quantity=" << x.executed_quantity.value()
16  << ",remaining_quantity=" << x.remaining_quantity.value()
17  << ",execution_id=" << x.execution_id.value()
18  << ",price=" << x.price.value();
19 }
20 
21 } // namespace pitch2
22 } // namespace jb
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
Represent the &#39;Order Executed at Price/Size&#39; message in the PITCH-2.X protocol.
boost::endian::little_uint32_buf_t executed_quantity
boost::endian::little_uint32_buf_t remaining_quantity
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7