|
BetaTrader
A HFT Eco-System
|
A command to cancel an existing order in the trading engine. More...
#include <CancelOrder.h>


Public Member Functions | |
| CancelOrder (const common::ClientID &clientId, const common::Timestamp timestamp, const common::OrderID orderId) | |
| Constructs a new CancelOrder command. | |
| common::ClientID | getClientId () const |
| Gets the client's identifier. | |
| common::OrderID | getOrderId () const |
| Gets the ID of the order to be cancelled. | |
| common::Timestamp | getTimestamp () const |
| Gets the command's timestamp. | |
| CommandType | getType () const |
| Gets the type of the command. | |
Private Attributes | |
| common::ClientID | mClientId |
| common::OrderID | mOrderId |
| The ID of the order to be cancelled. | |
| common::Timestamp | mTimestamp |
| The timestamp of when the command was created. | |
| CommandType | mType |
| The type of the command. | |
A command to cancel an existing order in the trading engine.
This class derives from the base Command class and encapsulates the data required to cancel an order, including the order ID.
|
inlineexplicit |
Constructs a new CancelOrder command.
| clientId | The identifier of the client cancelling the order. |
| timestamp | The time at which the command was created. |
| orderId | The ID of the order to be cancelled. |
|
inlineinherited |
Gets the client's identifier.

|
inline |
Gets the ID of the order to be cancelled.

|
inlineinherited |
Gets the command's timestamp.
|
inlineinherited |
Gets the type of the command.
|
privateinherited |
The identifier of the client sending the command.
|
private |
The ID of the order to be cancelled.
|
privateinherited |
The timestamp of when the command was created.
|
privateinherited |
The type of the command.