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


Public Member Functions | |
| ModifyOrder (const common::ClientID &clientId, const common::Timestamp timestamp, const common::OrderID orderId, const common::Price newPrice, const common::Quantity newQuantity) | |
| Constructs a new ModifyOrder command. | |
| common::ClientID | getClientId () const |
| Gets the client's identifier. | |
| const common::Price & | getNewPrice () const |
| Gets the new price for the order. | |
| const common::Quantity & | getNewQuantity () const |
| Gets the new quantity for the order. | |
| common::OrderID | getOrderId () const |
| Gets the ID of the order to be modified. | |
| common::Timestamp | getTimestamp () const |
| Gets the command's timestamp. | |
| CommandType | getType () const |
| Gets the type of the command. | |
Private Attributes | |
| common::ClientID | mClientId |
| common::Price | mNewPrice |
| The new price for the order. | |
| common::Quantity | mNewQuantity |
| The new quantity for the order. | |
| common::OrderID | mOrderId |
| The ID of the order to be modified. | |
| common::Timestamp | mTimestamp |
| The timestamp of when the command was created. | |
| CommandType | mType |
| The type of the command. | |
A command to modify an existing order in the trading engine.
This class derives from the base Command class and encapsulates the data required to modify an order, including the order ID, new price, and new quantity.
|
inlineexplicit |
Constructs a new ModifyOrder command.
| clientId | The identifier of the client modifying the order. |
| timestamp | The time at which the command was created. |
| orderId | The ID of the order to be modified. |
| newPrice | The new price for the order. |
| newQuantity | The new quantity for the order. |
|
inlineinherited |
Gets the client's identifier.

|
inline |
Gets the new price for the order.

|
inline |
Gets the new quantity for the order.

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

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