Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:fixapi:listcancelrequest [2025/09/12 01:36] – ↷ Page moved and renamed from developers:fixapi.listcancelrequest to developers:fixapi:listcancelrequest chad | developers:fixapi:listcancelrequest [2025/09/12 02:14] (current) – chad | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== List Cancel Request | + | ====== LIST CANCEL REQUEST [35=K] ====== |
- | **Canceling Orders with Multiple Components** | + | |
- | The **List Cancel Request** message | + | The List Cancel Request message |
- | * OCO | + | |
- | * AutoOCO | + | |
- | * Spark | + | |
- | **Requirements: | + | ===== Prerequisites ===== |
- | * Constituent orders | + | * Components |
- | * Applies to all CTS strategy types (outright futures, futures options, spreads, multi-leg strategies) | + | |
+ | * Account subscription required | ||
- | ---- | + | ===== Message Specification ===== |
- | === Identifying the Order to be Canceled === | + | **Message Direction:** Client → T4 |
- | * Batch orders are identified with **ListID** (`Tag 66`) | + | |
- | * Only the client-side `ListID` can be used for list cancellations | + | |
- | ---- | + | ^ Tag ^ Field Name ^ Type ^ Req'd ^ Description ^ |
+ | | | **Message Header** | | Y | MsgType = K | | ||
+ | | 66 | ListID | String | Y | Batch order identifier | | ||
+ | | 60 | TransactTime | UTCTimestamp | Y | Cancel request time | | ||
+ | | 75 | TradeDate | LocalMktDate | O | Format: YYYYMMDD (default: today) | | ||
+ | | 58 | Text | String | O | Free text | | ||
+ | | 354 | EncodedTextLen | Int | O | Length of EncodedText | | ||
+ | | 355 | EncodedText | Data | O | Encoded text | | ||
+ | | 1028 | ManualOrderIndicator | Boolean | O | Y=Manual, N=Automated | | ||
+ | | | **Message Trailer** | | Y | | | ||
- | === Important Considerations | + | ===== Sample Message ===== |
- | * Malformed requests (missing/ | + | |
- | * Other failures → **Cancel Reject** | + | |
- | * Account subscription is required before submitting a list cancel request (see **Collateral Inquiry** for subscription) | + | |
- | * Batch orders created outside the T4 FIX API can only be canceled via **Order Cancel Request** | + | |
- | * To cancel all components, cancel a working component of the batch | + | |
- | ---- | + | **Cancel AutoOCO Request: |
+ | < | ||
+ | 8=FIX.4.2|9=150|35=K|49=T4Example|56=test|50=Account1|52=20130426-16: | ||
+ | 66=fnl-635025734129974450|60=20130426-16: | ||
+ | </ | ||
- | === Message Dictionary === | + | **Cancel Responses |
- | ^ Tag ^ Field Name ^ Req'd ^ Comments | + | |
- | | **Standard Header** | Y | MsgType = K | | + | |
- | | 66 | ListID | + | |
- | | 60 | TransactTime | + | |
- | | 75 | TradeDate | + | |
- | | 58 | Text | N | Free-form text | | + | |
- | | 354 | EncodedTextLength | + | |
- | | 355 | EncodedText | + | |
- | | 1028 | ManualOrderIndicator | + | |
- | | **Standard Trailer** | Y | | | + | |
- | + | ||
- | ==== Sample Messages ==== | + | |
- | + | ||
- | + | ||
- | Canceling a Working AutoOCO Order entered through the T4 FIX API | + | |
< | < | ||
- | >> 4/26/2013 11:43:37 AM | + | 8=FIX.4.2|9=400|35=8|49=T4|56=T4Example|50=T4FIX|52=20130426-16: |
- | [FIXLISTCANCELREQUEST] | + | 143=US, |
- | [MsgSeqNum] 34 = 2166 | + | 17=0..018.2.F4B7C503|150=4|37=F4B7C503-A5F1-4943-971B-00E9867622C1|39=4| |
- | [SenderCompID] 49 = T4Example | + | 48=CME_20130600_ESM3|55=ES|207=CME_Eq|200=201306|59=0| |
- | [TargetCompID] 56 = test | + | 107=E-mini S&P 500 Jun13|54=2|167=FUT|38=0|40=2|44=-50|21=1|204=0| |
- | [SenderSubID] 50 = Account1 | + | 1385=2|10101=157800|10=234| |
- | [SendingTime] 52 = 20130426-16: | + | |
- | [ListID] 66 = fnl-635025734129974450 | + | |
- | [TransactTime] 60 = 20130426-16: | + | |
- | + | ||
- | + | ||
- | << 4/26/2013 11:43:37 AM [fixexecutionreport] 34=144588|49=T4|56=T4Example|50=T4FIX|52=20130426-16: | + | |
- | [FIXEXECUTIONREPORT] | + | |
- | [MsgSeqNum] 34 = 144588 | + | |
- | [SenderCompID] 49 = T4 | + | |
- | [TargetCompID] 56 = T4Example | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20130426-16: | + | |
- | [TargetLocationID] 143 = US,IL | + | |
- | [Account] 1 = Account1 | + | |
- | [ClOrdID] 11 = auto-2-635025734129974450 | + | |
- | [ListID] 66 = fnl-635025734129974450 | + | |
- | [ExecID] 17 = 0..018.2.F4B7C503 | + | |
- | [ExecType] 150 = 4 (CANCELED) | + | |
- | [OrderID] 37 = F4B7C503-A5F1-4943-971B-00E9867622C1 | + | |
- | [OrdStatus] 39 = 4 (CANCELED) | + | |
- | [SecurityID] 48 = CME_20130600_ESM3 | + | |
- | [Symbol] 55 = ES | + | |
- | [SecurityExchange] 207 = CME_Eq | + | |
- | [MaturityMonthYear] 200 = 201306 | + | |
- | [TimeInForce] 59 = 0 (DAY) | + | |
- | [SecurityDesc] 107 = E-mini S&P 500 Jun13 | + | |
- | [Side] 54 = 2 (SELL) | + | |
- | [SecurityType] 167 = FUT (FUTURE) | + | |
- | [OrderQty] 38 = 0 | + | |
- | [OrdType] 40 = 2 (LIMIT) | + | |
- | [Price] 44 = -50 | + | |
- | [HandlInst] 21 = 1 (AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION) | + | |
- | [CustomerOrFirm] 204 = 0 (CUSTOMER) | + | |
- | [ContingencyType] 1385 = 2 (AUTO_OCO) | + | |
- | [TriggerPrice] 10101 = 157800 | + | |
- | + | ||
- | + | ||
- | << 4/26/2013 11:43:37 AM [fixexecutionreport] 34=144589|49=T4|56=T4Example|50=T4FIX|52=20130426-16: | + | |
- | [FIXEXECUTIONREPORT] | + | |
- | [MsgSeqNum] 34 = 144589 | + | |
- | [SenderCompID] 49 = T4 | + | |
- | [TargetCompID] 56 = T4Example | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20130426-16: | + | |
- | [TargetLocationID] 143 = US,IL | + | |
- | [Account] 1 = Account1 | + | |
- | [ClOrdID] 11 = auto-3-635025734129974450 | + | |
- | [ListID] 66 = fnl-635025734129974450 | + | |
- | [ExecID] 17 = 0..018.2.3ED43239 | + | |
- | [ExecType] 150 = 4 (CANCELED) | + | |
- | [OrderID] 37 = 3ED43239-67AB-4F82-8D3D-ACD22DA9C3E5 | + | |
- | [OrdStatus] 39 = 4 (CANCELED) | + | |
- | [SecurityID] 48 = CME_20130600_ESM3 | + | |
- | [Symbol] 55 = ES | + | |
- | [SecurityExchange] 207 = CME_Eq | + | |
- | [MaturityMonthYear] 200 = 201306 | + | |
- | [TimeInForce] 59 = 0 (DAY) | + | |
- | [SecurityDesc] 107 = E-mini S&P 500 Jun13 | + | |
- | [Side] 54 = 2 (SELL) | + | |
- | [SecurityType] 167 = FUT (FUTURE) | + | |
- | [OrderQty] 38 = 0 | + | |
- | [OrdType] 40 = 3 (STOP) | + | |
- | [StopPx] 99 = 75 | + | |
- | [HandlInst] 21 = 1 (AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION) | + | |
- | [CustomerOrFirm] 204 = 0 (CUSTOMER) | + | |
- | [ContingencyType] 1385 = 2 (AUTO_OCO) | + | |
- | [TriggerPrice] 10101 = 157800 | + | |
- | + | ||
- | + | ||
- | << 4/26/2013 11:43:37 AM [fixexecutionreport] 34=144590|49=T4|56=T4Example|50=T4FIX|52=20130426-16: | + | |
- | [FIXEXECUTIONREPORT] | + | |
- | [MsgSeqNum] 34 = 144590 | + | |
- | [SenderCompID] 49 = T4 | + | |
- | [TargetCompID] 56 = T4Example | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20130426-16: | + | |
- | [TargetLocationID] 143 = US,IL | + | |
- | [Account] 1 = Account1 | + | |
- | [ClOrdID] 11 = auto-1-635025734129974450 | + | |
- | [ListID] 66 = fnl-635025734129974450 | + | |
- | [ExecID] 17 = 48342.6447004098_ESM3.63502573419860000018.2.BAA9E40D | + | |
- | [ExecType] 150 = 4 (CANCELED) | + | |
- | [OrderID] 37 = BAA9E40D-86CE-45B1-B3B8-FFE288F5FD88 | + | |
- | [OrdStatus] 39 = 4 (CANCELED) | + | |
- | [SecurityID] 48 = CME_20130600_ESM3 | + | |
- | [Symbol] 55 = ES | + | |
- | [SecurityExchange] 207 = CME_Eq | + | |
- | [MaturityMonthYear] 200 = 201306 | + | |
- | [TimeInForce] 59 = 0 (DAY) | + | |
- | [SecurityDesc] 107 = E-mini S&P 500 Jun13 | + | |
- | [Side] 54 = 1 (BUY) | + | |
- | [SecurityType] 167 = FUT (FUTURE) | + | |
- | [OrderQty] 38 = 1 | + | |
- | [OrdType] 40 = 2 (LIMIT) | + | |
- | [Price] 44 = 157800 | + | |
- | [TransactTime] 60 = 20130426-16: | + | |
- | [HandlInst] 21 = 1 (AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION) | + | |
- | [CustomerOrFirm] 204 = 0 (CUSTOMER) | + | |
- | [ContingencyType] 1385 = 2 (AUTO_OCO) | + | |
- | [TriggerPrice] 10101 = 157800 | + | |
</ | </ | ||
- | [[developers: | ||
+ | ===== Notes ===== | ||
+ | * Each component receives individual cancel Execution Report | ||
+ | * Non-FIX batch orders: use Order Cancel Request on working component | ||
+ | * Malformed messages rejected with Session Reject (35=3) | ||
+ | * Application errors return Cancel Reject (35=9) |