JayBeams  0.1
Another project to have fun coding.
auction_update_message.cpp
Go to the documentation of this file.
2 
3 #include <ostream>
4 
5 namespace jb {
6 namespace pitch2 {
7 
8 std::ostream& operator<<(std::ostream& os, auction_update_message const& x) {
9  return os << "length=" << static_cast<int>(x.length.value())
10  << ",message_type=" << static_cast<int>(x.message_type.value())
11  << ",time_offset=" << x.time_offset.value()
12  << ",stock_symbol=" << x.stock_symbol
13  << ",auction_type=" << static_cast<char>(x.auction_type.value())
14  << ",reference_price=" << x.reference_price.value()
15  << ",buy_shares=" << x.buy_shares.value()
16  << ",sell_shares=" << x.sell_shares.value()
17  << ",indicative_price=" << x.indicative_price.value()
18  << ",auction_only_price=" << x.auction_only_price.value();
19 }
20 
21 } // namespace pitch2
22 } // namespace jb
boost::endian::little_uint32_buf_t time_offset
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
boost::endian::little_uint64_buf_t indicative_price
boost::endian::little_uint32_buf_t buy_shares
boost::endian::little_uint8_buf_t length
boost::endian::little_uint8_buf_t auction_type
boost::endian::little_uint8_buf_t message_type
boost::endian::little_uint64_buf_t auction_only_price
boost::endian::little_uint32_buf_t sell_shares
Represent the &#39;Auction Update&#39; message in the PITCH-2.X protocol.
boost::endian::little_uint64_buf_t reference_price
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7