CBOE Emulator
1.0
|
A request to place a new limit / market order in the book. More...
#include <messages.hpp>
Public Member Functions | |
OrderRequest (SequenceNumber sequence, Price price_, Quantity quantity_, Side side_) | |
Initialize a new order request message. More... | |
std::string | to_string () const |
Convert the object to an STL string. More... | |
Public Attributes | |
const Header | header |
the header for the message | |
const Price | price |
the price for the order | |
const Quantity | quantity |
the quantity of the order | |
const Side | side |
the side of the order | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const OrderRequest &message) |
Write the data from the message to a stream. More... | |
A request to place a new limit / market order in the book.
|
inline |
Initialize a new order request message.
sequence | the sequence number for the message |
price_ | the price for the order |
quantity_ | the quantity of the order |
side_ | the side for the order |
|
inline |
Convert the object to an STL string.
|
friend |
Write the data from the message to a stream.
stream | the stream to write the data to |
message | the message to write to the stream |