A command to cancel an existing order in the trading engine.
Definition CancelOrder.h:18
common::OrderID getOrderId() const
Gets the ID of the order to be cancelled.
Definition CancelOrder.h:33
common::OrderID mOrderId
The ID of the order to be cancelled.
Definition CancelOrder.h:36
CancelOrder(const common::ClientID &clientId, const common::Timestamp timestamp, const common::OrderID orderId)
Constructs a new CancelOrder command.
Definition CancelOrder.h:26
An internal representation of a request, converted from an FIX message into this object for faster pr...
Definition Command.h:22
std::chrono::system_clock::time_point Timestamp
A type alias for std::chrono::system_clock::time_point.
Definition Time.h:15
uint64_t OrderID
A type alias for unique order identifiers.
Definition Types.h:134
std::string ClientID
A type alias for client identifiers.
Definition Types.h:140
Definition CancelOrder.h:10
CommandType
Represents the different types of commands that can be processed by the trading engine.
Definition CommandType.h:13