InputOrder
| Name | Type | Size (bytes) | Description |
|---|---|---|---|
| ClOrdID | String | 60 | Client OrderId for FIX Orders. |
| InstrumentMarket | Foreign key to InstrumentMarket | 8 | The Id of the InstrumentMarket for which the Order is being entered. |
| User | Foreign key to User | 8 | If the Order is being entered on behalf of another User, this is the Id for that User. Otherwise set to 0. |
| Side | One of OrderSide | 1 | Whether this is a Buy (0) or a Sell (1). |
| Type | Set of OrderType | 4 | |
| Price | Integer (signed) | 8 | The price for the Order. It is entered as an integer with the decimal places implied. The number of decimals is given by the PriceDecimals of the InstrumentMarket for the Order. |
| TotalQuantity | Integer (signed) | 8 | The total quantity for the Order. This is the absolute size of the Order inclusive of any hidden quantity. It is entered as an integer with the decimal places implied. The number of decimals is given by the QuantityDecimals of the InstrumentMarket for the Order. |
| HiddenQuantity | Integer (signed) | 8 | The hidden quantity for the Order. This is the part of the total quantity that is initially hidden from the market. The number of decimals is given by the QuantityDecimals of the InstrumentMarket for the Order. |
| Account | Foreign key to Account | 8 | The Account for an Order is optional and may be specified either as an Id if Accounts are being maintained in the Matching Engine (using this field) or as a text code. This field is used if Account is specified as an Id, or set to 0 if not used. |
| AccountCode | String | 40 | The Account for an Order may be specified as a plain-text code using this field. If the field Account is non-zero then AccountCode will be ignored. |
| Tag | String | 50 | If the Instrument for which the Order is being entered is a Tagged Instrument, Tag is the plain-text code that uniquely identifies the specific instance of the Instrument to be bought or sold. |
| SettlementClass | Foreign key to SettlementClass | 8 | For a multi-class Order, this is the Settlement Class for the Order. |
| SecurityLotLabel | String | 20 | For a multi-class sell Order, this is the security label for the Order. |
| SecurityLotId | Integer (unsigned) | 8 | For a multi-class sell Order, this is the security id for the Order. |
| Priority | Integer (unsigned) | 2 | For a multi-class sell Order, this is the settlement priority for the Order. |
| ExpiryDate | Integer (signed) | 4 | The expiry date of the Order as an integer in the form YYYYMMDD. If there is no expiry date for the Order (for a Session, Day or Good Till Time Order), set to 0.Only applies to Good Till Date orders. |
| ExpiryTime | Integer (signed) | 4 | The expiry time of the Order as an integer in the form HHMMSS. Expiry time is always relative to the current trading day. If there is no expiry time for the Order, set to 0.Only applies to Good Till Time orders. |
| LiveFor | Integer (unsigned) | 4 | If non-zero may be a number of seconds for which the order will remain live, must be less than number of seconds left in trading day. |
| PegRef | One of PegRef | 1 | The reference for a peg order. Can be Bid, Mid or Ask |
| PegOffset | Integer (signed) | 8 | Price offset from the peg reference |
| MinimumFill | Integer (signed) | 8 | Minimum Fill Quantity for this order. Can fill with multiple smaller orders. |
| TestOnly | Integer (unsigned) | 1 | If set, validates the order and returns error OrderTestOnly if OK. |
| CounterParty | Foreign key to User | 8 | The Id of the counterparty User with whom the one-sided trade report was done. |
| CounterPartyShortName | String | 24 | The ShortName of the counterparty User with whom the one-sided trade report was done. |
| ExternalTransactionId | String | 20 | This is the identifier of this transaction in the external system that initiated it. |
| Currency | Foreign key to Instrument | 8 | This is the currency in which this Order is quoted. It should be given as the identifier of a record in the Currency Table. |
| SettlementCurrency | Foreign key to Instrument | 8 | This is the currency in which this Order is should be settled. It should be given as the identifier of a record in the Currency Table. |
| VintageFrom | Integer (unsigned) | 4 | The minimum vintage year that is acceptable for this Order. It should be a 4 digit year. |
| VintageTo | Integer (unsigned) | 4 | The maximum vintage year that is acceptable for this Order. It must not be less than the VintageFrom field. It should be a 4 digit year. |
| ProjectType | Foreign key to ProjectType | 8 | The project type for the Order. It should be the identifier from a record in the ProjectType table. A value of 0 means blank. |
| Region | Foreign key to Region | 8 | The region for the Order. It should be the identifier from a record in the Region table. A value of 0 means blank. |
| Country | Foreign key to Country | 8 | The country type for the Order. It should be the identifier from a record in the Country table. A value of 0 means blank. |
| OrderInfo | String | 140 | Free-text field for supplementary information that can be entered with the order, which will be displayed in the order book. |
| id | Foreign key to Order | 8 | |
| sessioncode | One of Session | 2 | |
| onbehalfof_user | Foreign key to User | 8 | |
| expirytime_secs | Integer (unsigned) | 4 | |
| value | Integer (signed) | 8 | |
| valueleft | Integer (signed) | 8 | |
| holding_info | Struct (HoldingInfo) | 90 | |
| quotereqid | String | 60 | |
| blotter | Foreign key to Blotter | 8 | |
| firstchild | Integer (signed) | 8 | |
| childcount | Integer (unsigned) | 4 | |
| is_bulk_order | Integer (unsigned) | 1 |