Skip to main content

Overview

The Order Cancel Request message (MsgType = “F”) enables cancellation of all remaining quantity on an existing order within the Buildmarkets FIX Gateway.

Key Warning

“A cancel request may be rejected if the order is already filled, expired, or in a non-cancellable state.” Monitor for either confirmation via Execution Report or denial via Order Cancel Reject.

Required Fields

TagFieldDescriptionType
1AccountTrading account identifierString
11ClOrdIDUnique identifier for cancel requestString
37OrderIdOrderId from the gatewayString
41OrigClOrdIDClOrdID of order being cancelledString
48SecurityIDSecurity identifier (numeric)Numeric
55SymbolSecurity symbol in uppercaseString
60TransactTimeTransaction timestampUTCTimestamp
167SecurityTypeType: CS (stock), OPT (option), MLEG (multileg)String

Optional Fields

TagFieldDescription
54SideMust match original order’s side (1=Buy, 2=Sell)

Message Examples

Equity Order Cancellation:
8=FIX.4.4|35=F|49=CLIENT1|56=BUILDMARKETS|11=CXL-20260212-001|1=ACC123456789|37=BMKT-78450|41=ORD-20260212-001|55=AAPL|167=CS|54=1|60=20260212-15:00:00.000|10=034|
Option Order Cancellation:
8=FIX.4.4|35=F|49=CLIENT1|56=BUILDMARKETS|11=CXL-20260212-002|1=ACC123456789|37=BMKT-78451|41=ORD-20260212-003|55=AAPL|167=OPT|54=1|60=20260212-15:00:00.000|10=056|
Multileg Order Cancellation:
8=FIX.4.4|35=F|49=CLIENT1|56=BUILDMARKETS|11=CXL-20260212-003|1=ACC123456789|37=BMKT-78460|41=MLEG-20260212-001|55=AAPL|167=MLEG|54=1|60=20260212-15:00:00.000|10=078|

REST Alternatives

  • Single-leg: POST /api/external/cancel?OrderCode={code}&AccountNo={acct}
  • Multi-leg: POST /api/Order/CancelMultiLegOrder (JSON body)