Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt
hiddenfalse

Submit a new order.


Style
.wiki-content .columnLayout .cell.aside {width:400px;}



Panel
borderColorlightgray


Page Properties


URL/order/new
HTTP MethodPOST
Version2.0.0




Panel
borderColorlightgray
titleBGColorwhitesmoke
titleContents
Table of Contents
maxLevel3


Request

Body

RefFieldNameData TypeValuesUsageDescription
1header
2→ applicationNameApplication NameString
REQUIRED

Identifies the application generating the message.

3→ applicationVendorApplication VendorString
REQUIRED

Identifies the vendor of the application generating the message.

4→ applicationVersionApplication VersionString
REQUIRED

Identifies the version of the application generating the message.

5→ requestIdRequest IDString
REQUIRED

A unique identifier for the request provided by the client for correlation.

6→ sentTimeSent TimeDateTime
REQUIRED

Timestamp of the message leaving the producing application.

7payload
8→ customerOrderHandlingInstrCustomer Order Handling InstructionCustomerOrderHandlingInstruction


Expand
  • ALGORITHM_ENGINE ENGINE (Algorithm Engine)
  • CLIENT_ELECTRONIC ELECTRONIC (Client Electronic)
  • DESK_ELECTRONIC ELECTRONIC (Desk Electronic)
  • FCM_API API (FCM API or FIX)
  • FCM_PROVIDED_SCREEN SCREEN (FCM Provided Screen)
  • OTHER_PROVIDED_SCREEN SCREEN (Other Provided Screen)


REQUIRED
9→ customerOrderIdCustomer Order IDString
  • Length: 1 - 20
REQUIRED

Unique order identifier assigned by client system.

Client system must maintain uniqueness of this value for the life of the order.

Refer to iLink - CME Globex Identifiers for more information.

10→ displayQtyIntDisplay Quantity IntegerInteger
OPTIONAL
11→ durationTypeDuration TypeOrderDurationType
  • DAY DAY (Day) - Order expires at the end of the trading day.
  • FILL_AND_KILL KILL (Fill and Kill) - Order is immediately executed against any available quantity and any remaining quantity is eliminated
  • FILL_OR_KILL KILL (Fill or Kill) - Order is filled completely or else eliminated
  • GOOD_TILL_CANCEL CANCEL (Good till Cancel) - Order remains working until cancelled
  • GOOD_TILL_DATE DATE (Good till Date) - Order remains working until the end of the trading session of the local market date specified in the ExpirationDate field.
REQUIRED
12→ entities
13→ → customerAccountIdCustomer Account IDString
  • Length: 1 - 12
REQUIRED

Unique account identifier.

14→ → customerOriginTypeCustomer Origin TypeOriginType
  • CUSTOMER CUSTOMER (Customer)
  • HOUSE HOUSE (House)
OPTIONAL
15→ → customerTypeCustomer TypeCustomerType
  • MEMBER_OWN OWN (Member Own) - Applies to orders entered or trades executed by an individual member for their own account, for an account they controls, or for an account in which they have an ownership or financial interest. However, transactions initiated and executed by a member for the proprietary account of a member firm must be designated as Member Other Member transactions.
  • MEMBER_PROPRIETARY PROPRIETARY (Member Proprietary) - Applies to orders entered or trades executed for the proprietary accounts of a member firm, including Rule 106.H., I., N., R. and S. firms.
  • ON_BEHALF_INDIVIDUAL INDIVIDUAL (On-Behalf Individual) - Applies to orders entered by a member or a nonmember terminal operator for the account of another individual member or an account controlled by such individual member.
  • OTHER OTHER (Other) - Applies to all orders and transactions not included in any of the defined categories. These typically are orders entered by or on behalf of nonmember entities.
OPTIONAL
16→ → executingFirmIdExecuting Firm IDString
  • Length: 1 - 10
REQUIRED
17→ → operatorIdOperator IDString
  • Length: 1 - 18
REQUIRED
18→ → senderCountrySender CountryString
  • Length: 1 - 2
REQUIRED
19→ → senderStateSender StateString
  • Length: 2 - 2
OPTIONAL
20→ expirationDtExpiration DateDate
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.durationType = GOOD_TILL_DATE
21→ instrument
22→ → glbxSecurityIdGlobex Security IDInteger
REQUIRED
23→ manualIndManual IndicatorYesNoIndicator
  • NO NO (No) - No
  • YES YES (Yes) - Yes
REQUIRED

Indicates whether the order was generated by automated trading logic.

24→ memoMemoString
  • Length: 0 - 75
OPTIONAL
25→ minimumQtyIntMinimum Quantity IntegerInteger
OPTIONAL
26→ pricePricePrice
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.type IN (LIMIT, STOP_LIMIT)
27→ qtyIntQuantity IntegerInteger
REQUIRED
28→ selfMatchPreventionIdSelf-Match Prevention IDInteger
OPTIONAL
29→ selfMatchPreventionInstrSelf-Match Prevention InstructionSelfMatchPreventionInstruction
  • CANCEL_NEWEST NEWEST (Cancel Newest)
  • CANCEL_OLDEST OLDEST (Cancel Oldest)
OPTIONAL
30→ sideIndSide IndicatorMarketSideIndicator
  • BUY BUY (Buy) - Identifies a buy side order
  • SELL SELL (Sell) - Identifies a sell side order
REQUIRED
31→ stopPriceStop PricePrice
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.type IN (STOP, STOP_LIMIT)
32→ typeTypeOrderType
  • LIMIT LIMIT (Limit) - A Limit order defines the upper price limit at which to buy an instrument and lower price limit at which to sell an instrument. The price limit is defined in the Price field. If the price is not immediately available, the Limit order will rest until filled or cancelled.
  • MARKET MARKET (Market) - A Market order with protection is filled within a pre-defined range of prices referred to as the protected range. For buy orders, protection points are added to the current best offer price to calculate the protection price limit. For sell orders, protection points are subtracted from the current best bid price.
  • MARKET_TO_LIMIT LIMIT (Market to Limit) - A Market-limit order is executed at the best price available in the market. If the market-limit order can only be partially filled, the order becomes a limit order and the remaining quantity remains on the order book at the specified limit price.
  • STOP STOP (Stop) - A Stop order is an order which, when accepted, does not immediately go on the book, but must be "triggered" by a trade in the market at the price level submitted with the order. A Stop order goes on the book as a Market order once triggered.
  • STOP_LIMIT LIMIT (Stop Limit) - A Stop order is an order which, when accepted, does not immediately go on the book, but must be "triggered" by a trade in the market at the price level submitted with the order. A Stop-Limit order goes on the book as a Limit order once triggered.
REQUIRED

Response - 201

Body

RefFieldNameData TypeValuesUsageDescription
1header
2→ requestIdRequest IDstring
ALWAYS

A unique identifier for the request provided by the client for correlation.

3→ sentTimeSent TimedateTime
ALWAYS

Timestamp of the message leaving the producing application.

4payload
5→ actionActionorderAction
  • NEW NEW (New)
ALWAYS
6→ customerOrderHandlingInstrCustomer Order Handling InstructioncustomerOrderHandlingInstruction


Expand
  • ALGORITHM_ENGINE ENGINE (Algorithm Engine)
  • CLIENT_ELECTRONIC ELECTRONIC (Client Electronic)
  • DESK_ELECTRONIC ELECTRONIC (Desk Electronic)
  • FCM_API API (FCM API or FIX)
  • FCM_PROVIDED_SCREEN SCREEN (FCM Provided Screen)
  • OTHER_PROVIDED_SCREEN SCREEN (Other Provided Screen)


ALWAYS
7→ customerOrderIdCustomer Order IDstring
ALWAYS
8→ displayQtyIntDisplay Quantity Integerint32
OPTIONAL
9→ durationTypeDuration TypeorderDurationType
  • DAY DAY (Day) - Order expires at the end of the trading day.
  • FILL_AND_KILL KILL (Fill and Kill) - Order is immediately executed against any available quantity and any remaining quantity is eliminated
  • FILL_OR_KILL KILL (Fill or Kill) - Order is filled completely or else eliminated
  • GOOD_TILL_CANCEL CANCEL (Good till Cancel) - Order remains working until cancelled
  • GOOD_TILL_DATE DATE (Good till Date) - Order remains working until the end of the trading session of the local market date specified in the ExpirationDate field.
ALWAYS
10→ entities
11→ → customerAccountIdCustomer Account IDstring
ALWAYS
12→ → customerOriginTypeCustomer Origin TypeoriginType
  • CUSTOMER CUSTOMER (Customer)
  • HOUSE HOUSE (House)
ALWAYS
13→ → customerTypeCustomer TypecustomerType
  • MEMBER_OWN OWN (Member Own) - Applies to orders entered or trades executed by an individual member for their own account, for an account they controls, or for an account in which they have an ownership or financial interest. However, transactions initiated and executed by a member for the proprietary account of a member firm must be designated as Member Other Member transactions.
  • MEMBER_PROPRIETARY PROPRIETARY (Member Proprietary) - Applies to orders entered or trades executed for the proprietary accounts of a member firm, including Rule 106.H., I., N., R. and S. firms.
  • ON_BEHALF_INDIVIDUAL INDIVIDUAL (On-Behalf Individual) - Applies to orders entered by a member or a nonmember terminal operator for the account of another individual member or an account controlled by such individual member.
  • OTHER OTHER (Other) - Applies to all orders and transactions not included in any of the defined categories. These typically are orders entered by or on behalf of nonmember entities.
ALWAYS
14→ → executingFirmIdExecuting Firm IDstring
ALWAYS
15→ → senderCountrySender Countrystring
ALWAYS
16→ → senderStateSender Statestring
OPTIONAL
17→ expirationDtExpiration Datedate
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.durationType = GOOD_TILL_DATE
18→ instrument
19→ → glbxSecurityIdGlobex Security IDint32
ALWAYS
20→ manualIndManual IndicatoryesNoIndicator
  • NO NO (No) - No
  • YES YES (Yes) - Yes
ALWAYS

Indicates whether the order was generated by automated trading logic.

21→ memoMemostring
OPTIONAL
22→ minimumQtyIntMinimum Quantity Integerint32
OPTIONAL
23→ pricePriceprice
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.type IN (LIMIT, STOP_LIMIT)
24→ qtyIntQuantity Integerint32
ALWAYS
25→ sideIndSide IndicatormarketSideIndicator
  • BUY BUY (Buy) - Identifies a buy side order
  • CROSS CROSS (Cross)
  • SELL SELL (Sell) - Identifies a sell side order
ALWAYS
26→ statusStatusorderStatus
  • NEW NEW (New)
  • UNDEFINED UNDEFINED (Undefined)
ALWAYS
27→ stopPriceStop Priceprice
CONDITIONAL
Criteria
  • ALWAYS when payloadwhen payload.type IN (STOP, STOP_LIMIT)
28→ transactionTimeTransaction TimedateTime
ALWAYS
29→ typeTypeorderType
  • LIMIT LIMIT (Limit) - A Limit order defines the upper price limit at which to buy an instrument and lower price limit at which to sell an instrument. The price limit is defined in the Price field. If the price is not immediately available, the Limit order will rest until filled or cancelled.
  • MARKET MARKET (Market) - A Market order with protection is filled within a pre-defined range of prices referred to as the protected range. For buy orders, protection points are added to the current best offer price to calculate the protection price limit. For sell orders, protection points are subtracted from the current best bid price.
  • MARKET_TO_LIMIT LIMIT (Market to Limit) - A Market-limit order is executed at the best price available in the market. If the market-limit order can only be partially filled, the order becomes a limit order and the remaining quantity remains on the order book at the specified limit price.
  • STOP STOP (Stop) - A Stop order is an order which, when accepted, does not immediately go on the book, but must be "triggered" by a trade in the market at the price level submitted with the order. A Stop order goes on the book as a Market order once triggered.
  • STOP_LIMIT LIMIT (Stop Limit) - A Stop order is an order which, when accepted, does not immediately go on the book, but must be "triggered" by a trade in the market at the price level submitted with the order. A Stop-Limit order goes on the book as a Limit order once triggered.
ALWAYS
30→ venueExecutionIdVenue Execution IDstring
ALWAYS
31→ venueOrderIdVenue Order IDstring
ALWAYS

Response - 400

Body

RefFieldNameData TypeValuesUsageDescription
1errors[]
2→ codeCodestring
  • 1 - {Unclassified error message}
ALWAYS
3→ messageMessagestring
ALWAYS
4header
5→ requestIdRequest IDstring
ALWAYS

A unique identifier for the request provided by the client for correlation.

6→ sentTimeSent TimedateTime
ALWAYS

Timestamp of the message leaving the producing application.

Response - 403

Body

RefFieldNameData TypeValuesUsageDescription
1errors[]
2→ codeCodestring
  • 1 - {Unclassified error message}
ALWAYS
3→ messageMessagestring
ALWAYS
4header
5→ requestIdRequest IDstring
ALWAYS

A unique identifier for the request provided by the client for correlation.

6→ sentTimeSent TimedateTime
ALWAYS

Timestamp of the message leaving the producing application.

Response - 500

Body

RefFieldNameData TypeValuesUsageDescription
1errors[]
2→ codeCodestring


Expand
  • 1 - {Unclassified error message}
  • 1003 1003 - Orders may not be entered while the market is closed Orders may not be entered while the market is paused Orders may not be canceled while the market is closed Orders may not be canceled while the market is paused
  • 101 101 - {Field} is not present
  • 1012 1012 - Price must be greater than zero
  • 1013 1013 - Invalid order qualifier
  • 1014 1014 - The user is not authorized to trade
  • 102 102 - {Field} has an incorrect value: {Value}
  • 103 103 - {Field} is invalid
  • 2013 2013 - Market price orders not supported by opposite limit
  • 2019 2019 - Order's GTD Expire Date is before the current (or next, if not currently in a session) trading session end date
  • 2046 2046 - Disclosed Quantity cannot be greater than total or remaining qty
  • 2047 2047 - Order contract is unknown
  • 2051 2051 - The Order was submitted with a different side than the requesting Cancel
  • 2058 2058 - Stop price maxi-mini must be greater than or equal to trigger price
  • 2059 2059 - Stop price maxi-mini must be smaller than or equal to trigger price
  • 2060 2060 - Sell order stop price must be below last trade price
  • 2061 2061 - Buy order stop price must be above last trade price
  • 2115 2115 - Order quantity is outside of the allowable range
  • 2130 2130 - Order type not permitted while the market is in Post Close/Pre-Open (PCP)
  • 2137 2137 - Order price is outside the limits
  • 2179 2179 - Order price is outside bands
  • 2311 2311 - Order type not permitted for group
  • 2500 2500 - Instrument has a request for cross in progress
  • 2501 2501 - Order Quantity too low
  • 7000 7000 - Order rejected
  • 7027 7027 - Order type not permitted while the market is reserved
  • 7029 7029 - Orders may not be entered while the market is forbidden
  • 7613 7613 - Disclosed quantity cannot be smaller than the minimum quantity


ALWAYS
3→ messageMessagestring
ALWAYS
4→ referenceFieldReference Fieldstring
OPTIONAL
5header
6→ requestIdRequest IDstring
ALWAYS

A unique identifier for the request provided by the client for correlation.

7→ sentTimeSent TimedateTime
ALWAYS

Timestamp of the message leaving the producing application.

8payload
9→ customerOrderIdCustomer Order IDstring
OPTIONAL
10→ transactionTimeTransaction TimedateTime
OPTIONAL