JayBeams  0.1
Another project to have fun coding.
expanded_add_order_message.hpp
Go to the documentation of this file.
1 #ifndef jb_pitch2_expanded_add_order_message_hpp
2 #define jb_pitch2_expanded_add_order_message_hpp
3 
5 
6 namespace jb {
7 namespace pitch2 {
8 
9 /**
10  * Represent the 'Add Order' message in the PITCH-2.X protocol.
11  *
12  * Sometimes the specification refers to this message as 'Add Order -
13  * expanded'.
14  *
15  * A full description of the fields can be found in the BATS PITCH-2.X
16  * specification:
17  * https://www.batstrading.com/resources/membership/BATS_MC_PITCH_Specification.pdf
18  */
20  : public base_add_order_message<
21  boost::endian::little_uint32_buf_t, jb::fixed_string<8>,
22  boost::endian::little_uint64_buf_t> {
23  /// Define the messsage type
24  constexpr static int type = 0x2F;
25 
26  /// The type for the participant_id field.
28 
30 };
31 
32 /// Streaming operator for jb::pitch2::expanded_add_order_message.
33 std::ostream& operator<<(std::ostream& os, expanded_add_order_message const& x);
34 
35 } // namespace pitch2
36 } // namespace jb
37 
38 #endif // jb_pitch2_expanded_add_order_message_hpp
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
Common type for the &#39;Add Order&#39; messages in the PITCH-2.X protocol.
Represent the &#39;Add Order&#39; message in the PITCH-2.X protocol.
static constexpr int type
Define the messsage type.
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7