CBOE Emulator
1.0
|
Logic for sending and receiving messages on a financial data feed. More...
Namespaces | |
Extensions | |
Extensions to the Sender / Receiver asio context. | |
Handlers | |
Logic for handling incoming messages from the Receiver. | |
LOB | |
Logic for maintaining a continuous double auction via a limit-order book. | |
Classes | |
class | Receiver |
A multi-cast receiver for recreating a LOB::LimitOrderBook from network messages. More... | |
class | Sender |
A class for multi-casting depth of book messages from a LOB::LimitOrderBook. More... | |
Typedefs | |
typedef Clock::TimeStamp | TimeStamp |
A forward a declaration for the Clock timestamp. | |
typedef uint32_t | SequenceNumber |
A type for sequence numbers. | |
typedef uint64_t | OrderID |
A type for order prices. | |
typedef uint32_t | Quantity |
A type for order quantities. | |
typedef uint64_t | Price |
A type for order prices. | |
Enumerations | |
enum | Side : char { Sell = 'S', Buy = 'B' } |
The side of an order. | |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const Side &side) |
Write the order side to a stream. More... | |
constexpr double | side_to_double (Side side) |
Convert an order side character to a double. More... | |
constexpr bool | side_to_bool (Side side) |
Convert an order side character to a boolean value. More... | |
constexpr LOB::Side | side_to_LOB_side (Side side) |
Convert a side character to a LOB side value. More... | |
constexpr Side | bool_to_side (bool side) |
Convert a boolean to an order side. More... | |
Variables | |
class DataFeed::Receiver | __attribute__ |
Logic for sending and receiving messages on a financial data feed.
|
inlineconstexpr |
Convert a boolean to an order side.
side | the side to convert to an order side |
|
inline |
Write the order side to a stream.
stream | the stream to write the order side to |
side | the order side to write to the stream |
|
inlineconstexpr |
Convert an order side character to a boolean value.
side | the order side to convert |
|
inlineconstexpr |
Convert an order side character to a double.
side | the order side to convert to a double |