The Stock Order Request Message is a Client message that does not enter the Exchange's Matching Engine. More...
Public Member Functions | |
StockOrderRoutingRequest () | |
Constructor. | |
StockOrderRoutingRequest (const StockOrderRoutingRequest &) | |
Copy constructor. | |
~StockOrderRoutingRequest () | |
Destructor. | |
StockOrderRoutingRequest & | operator= (const StockOrderRoutingRequest &) |
Assignment. | |
void | stockOrderRequestId (RequestId id) |
Set unique client identifier for the stock order routing request. | |
RequestId | stockOrderRequestId () const |
Get unique client identifier for the stock order routing request. | |
void | ownOrderId (const String &id) |
Set unique client identifier for the stock order. | |
const String & | ownOrderId () const |
Get unique client identifier for the stock order. | |
void | orderId (OrderId id) |
Set exchange Order ID. | |
OrderId | orderId () const |
Get exchange Order ID. | |
void | stockOrderRequestType (StockOrderRequestType::Enum type) |
Set stock order request type. | |
StockOrderRequestType::Enum | stockOrderRequestType () const |
Get stock order request type. | |
void | sendingTime (DateTime &time) |
Set time of message transmission. | |
DateTime | sendingTime () const |
Get time of message transmission. | |
void | stockOrdTransactTime (DateTime &time) |
Set stock order transaction time. | |
DateTime | stockOrdTransactTime () const |
Get stock order transaction time. | |
void | lastPx (Price price) |
Set order fill price. | |
Price | lastPx () const |
Get order fill price. | |
void | price (Price price) |
Set order price. | |
Price | price () const |
Get order price. | |
void | lastQty (Quantity quantity) |
Set order fill lots. | |
Quantity | lastQty () const |
Get order fill lots. | |
void | orderQty (Quantity quantity) |
Set total order quantity. | |
Quantity | orderQty () const |
Get total order quantity. | |
void | accountType (const String &type) |
Set type of account. | |
const String & | accountType () const |
Get type of account. | |
void | clientDuplicate (CCG::ClientDuplicate value) |
Set duplicate client instruction (for example: a new order that has already been sent through another medium) | |
CCG::ClientDuplicate | clientDuplicate () const |
Get duplicate client instruction (for example: a new order that has already been sent through another medium) | |
void | stockRef (const String &stockRef) |
Set identifier of the stock. | |
const String & | stockRef () const |
Get identifier of the stock. | |
void | accountNumber (CCG::AccountNumber value) |
Set additional client identifier. | |
CCG::AccountNumber | accountNumber () const |
Get additional client identifier. | |
void | freeText (const String &freeText) |
Set traders' reference. | |
const String & | freeText () const |
Get traders' reference. | |
void | deliverToCompId (const String &deliverToCompId) |
Set the ITM that the message must be routed to (For Stock Order Routing) | |
const String & | deliverToCompId () const |
Get the ITM that the message must be routed to (For Stock Order Routing) | |
void | onBehalfOfCompId (const String &onBehalfOfCompId) |
Set the ITM that has originally sent the message. | |
const String & | onBehalfOfCompId () const |
Get the ITM that has originally sent the message. | |
void | stockFillId (const String &stockFillId) |
Set identifier for the Stock trade. | |
const String & | stockFillId () const |
Get identifier for the Stock trade. | |
void | stockOrdStatus (StockOrderStatus status) |
Set stock order status. | |
StockOrderStatus | stockOrdStatus () const |
Get stock order status. | |
void | ordType (OrderType::Enum type) |
Set order type. | |
OrderType::Enum | ordType () const |
Get order type. | |
void | side (Side::Enum side) |
Set order side. | |
Side::Enum | side () const |
Get order side. | |
std::string | toString () const |
Dump state to string. | |
void | serialize (MessageSerializer &) |
Serialize data (for internal use) |
The Stock Order Request Message is a Client message that does not enter the Exchange's Matching Engine.
It is routed onto the recipient specified in DelivertoCompID.
Response: