|
Leka
A low-latency C++20 price-time-priority limit order book and matching engine
|
Payload for accepting a new order. More...
#include <order_event.hpp>
Public Attributes | |
| OrderId | orderId |
| Unique identifier for the new order. | |
| Price | price |
| Limit price, or an invalid price for a market order. | |
| Quantity | quantity |
| Quantity submitted by the caller. | |
| Timestamp | timestamp |
| Timestamp assigned to the order. | |
| OrderSide | orderSide |
| Buy or sell direction. | |
| OrderType | orderType |
| Limit or market execution behavior. | |
Payload for accepting a new order.
Definition at line 36 of file order_event.hpp.
| OrderId lob::NewOrder::orderId |
Unique identifier for the new order.
Definition at line 38 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| Price lob::NewOrder::price |
Limit price, or an invalid price for a market order.
Definition at line 40 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| Quantity lob::NewOrder::quantity |
Quantity submitted by the caller.
Definition at line 42 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| Timestamp lob::NewOrder::timestamp |
Timestamp assigned to the order.
Definition at line 44 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| OrderSide lob::NewOrder::orderSide |
Buy or sell direction.
Definition at line 46 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| OrderType lob::NewOrder::orderType |
Limit or market execution behavior.
Definition at line 48 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().