The New Order List is used to submit up to 16 orders within a single message. More...
Public Types | |
enum | { MinNoOrders = 2, MaxNoOrders = 16 } |
Public Member Functions | |
NewOrderList () | |
Constructor. | |
NewOrderList (const NewOrderList &) | |
Copy constructor. | |
~NewOrderList () | |
Destructor. | |
NewOrderList & | operator= (const NewOrderList &) |
Assignment. | |
void | listId (RequestId id) |
Set unique client identifier for the stock order routing request. | |
RequestId | listId () const |
Get unique client identifier for the stock order routing request. | |
UInt8 | noOrders () const |
Get number of order entries. | |
void | orderDetail (UInt8 index, const NewOrderListDetail &detail) |
Set Order detail. | |
const NewOrderListDetail & | orderDetail (UInt8 index) const |
Get Order detail. | |
void | addOrderDetail (const NewOrderListDetail &detail) |
Add new OrderID detail. | |
void | removeAllOrders () |
Remove all orders. | |
std::string | toString () const |
Dump state to string. | |
void | serialize (MessageSerializer &) |
Serialize data (for internal use) |
The New Order List is used to submit up to 16 orders within a single message.
The individual orders are validated to ensure that all orders are for the same Commodity Key and are Limit orders. Orders failing this validation will be rejected. The orders are validated against the Commodity Key specified in the first repeating group. The following fields are used for Clearing: ClearingInstruction, AccountCode, CustOrderCapacity, ClientInfo, PartyID, PartyRole, PostingAction.
Response: