Order Cancel/Replace Multileg (AC)

The FIX Client uses this message to modify a multileg order previously submitted using the New Order Multileg (AB) message. Possible response message: Execution Report (8) or Order Cancel Reject (9).

Tag

Name

Format

Req

Comments

 

Standard Header

 

Y

MsgType = AB

1

Account

String(256)

Y*

Account ID (managed by the CQG gateway).

11

ClOrdID

String(64)

Y

New and unique ID for this request.

21

HandlInst

Char

N

Instructions for order handling on broker trading floor.

Valid values:

1 = Automated execution order, private, no broker intervention

22

IDSource

String

N

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

37

OrderID

String(32)

Y

Unique identifier for order as assigned by the CQG gateway.

38

OrderQty

Qty

N

New total order quantity.

This new order quantity is compared to the original order quantity to determine whether to increment or decrement the order.

Quantity must be an unsigned integer number greater than zero. Orders with zero or negative quantity are rejected.

41

OrigClOrdID

String(64)

Y

Last accepted ClOrdID in an order chain that this message modifies.

44

Price

Price

C

New limit price for Limit and Stop Limit orders.

48

SecurityID

String

N

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

54

Side

Char

N

Indicates the side of the order.

Valid values:

1 = Buy

2 = Sell

5 = Sell Short

6 = Sell Short Exempt

55

Symbol

String(64)

C

An identifier for an instrument that can be traded on a CQG system.

CQG has established symbols to represent each issue traded at the various international exchanges. When possible CQG symbols correspond to those used by the individual exchanges. However, exchange symbols may conflict with symbols and data formats used by other exchanges.

When this occurs, alternative CQG symbols are used. Custom symbols can be used when symbol mapping is enabled for FIX vendor and appropriate conversion algorithm is selected. See Syntax for Symbol (tag 55).

59

TimeInForce

Char

N

Specifies how long the order remains in effect. If not present, DAY is the default. If the value of this tag is GTD, then ExpireDate (tag 432) is required.


If the value of this tag is GTT, then ExpireTime (tag 126) is required.

Valid values:

0 = DAY (assumed when absent)

1 = Good Till Cancel (GTC)

2 = At the Opening (OPG)

3 = Immediate or Cancel (IOC)

4 = Fill or Kill (FOK)

6 = Good Till Date (GTD)

7 = At the Close

A = Good Till Time(GTT)

B = Good For Auction(GFA)

60

TransactTime

UTC Timestamp

Y

Time this order request was initiated/released by the trader or trading system.

99

StopPx

Price

C

New stop price for stop and stop limit orders.

115

OnBehalfOfCompID

String(32)

N

A firm name of a trader on whose behalf this order request should be sent. This field is currently ignored by the CQG gateway. Part of Standard Header.

116

OnBehalfOfSubID

String(32)

N

CQG username of the trader on whose behalf this order request should be sent. That trader needs to be authorized for trading on the same account specified in tag 1. Part of Standard Header.

126

ExpireTime

UTCTimestamp

C

Conditionally required if TimeInForce = GTT.

128

DeliverToCompID

String(32)

C

Trading firm that the trader specified in tag 116 (DeliverToSubID) belongs to. Part of Standard Header.

167

SecurityType

String

N

Indicates type of security.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured. Indicates type of security.

200

MaturityMonthYear

MonthYear

N

Month and year of the maturity.

Format: YYYYMM.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

For FIX message consistency, CQG defines maturity as contract last trading date.

205

MaturityDay

Int

N

Day of the maturity.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

For FIX message consistency, CQG defines maturity as contract last trading date.

207

SecurityExchange

String

N

Market used to help identify a security.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured. Market used to help identify a security.

210

MaxShow

Qty

C

Conditionally required if ExecInst contains i (Iceberg). Maximum number of shares within an order to be shown to other customers.

388

DiscretionInst

Char

C

Code to identify the price a DiscretionOffset is related to and should be mathematically added to. Required if DiscretionOffset is specified.

Valid values:

0 = Related to displayed price

389

DiscretionOffset

Float

N

Amount (signed) added to the "related to" price specified via DiscretionInst, in the context of DiscretionOffsetType.

432

ExpireDate

LocalMktDate

C

Conditionally Required if TimeInForce (tag 59) = GTD (6). Only expiration date can be set. Orders expire at the end of the trading session. The CQG gateway does not support ExpireTime (tag 126).

541

MaturityDate

LocalMktDate

N

Date of maturity.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

For FIX message consistency, CQG defines maturity as contract last trading date.

847

TargetStrategy

Int

N

The target strategy of the order.

Valid values:

1000 - CQG ARRIVALPRICE

1001 - CQG PAYUP

1002 - CQG RICEBERG

1003 - CQG RTWAP

1004 - CQG SLICEBERG

1005 - CQG SLSNIPE

1006 - CQG SNIPE

1007 - CQG TICK

1008 - CQG TWAP

1009 - CQG VWAP

1010 - CQG OFFSETPAYUP

1011 - CQG PEG

1013 - CQG SLARRIVAL

1014 - CQG ICESLICER

1015 - CQG OFFSETTICK

1016 - CQG ICEPEGGER

1017 - CQG SLSWEEPER

1018 - CQG POSITIONBRKT

1019 - CQG SLSNIPEBERG

1020 - CQG POV

Algo strategy parameters block, expanded in paragraph <Algo-engine support>

1028

ManualOrderIndicator

Boolean

N

Indicates whether the order was sent manually (as opposed to being generated by automated trading logic).

Default =Y.

51031

CustOrderHandlingInst

Char

N

FIA Execution Source Code value for this request. Overrides the value CQG would otherwise automatically assign to the request based on trader-account configuration.

Possible values:

W – Desk

Y – Electronic (Default)

C – Vendor-provided Platform billed by Executing Broker

G - Sponsored Access via Exchange API or FIX provided by Executing Broker

H - Premium Algorithmic Trading Provider billed by Executing Broker

D - Other, including Other-provided Screen

20124

ClientRegulatoryAlgorithmID

Int

N

Regulatory Algorithm ID for algo-orders.

20176

MifidAlgorithmID

String

C

Must be supplied if the order execution decision was made by an algorithm under MiFID II definitions.

20177

MifidAlgorithmIDType

Int

C

Specified the type of MifidAlgorithmID (20176).

Valid values:

1 = External Mifid Algorithm ID

2 = CQG Mifid Algorithm ID

20181

MifidForceExecutionDecision

Boolean

C

When set ('Y'), it means MiFID Execution Within Firm should be CLIENT (or its configured short code) for an order not flagged with any MiFID Algorithm.

Default = ‘N’

20185

NoExtraAttributes

NumInGroup

N

Extra attributes repeating group

à

20186

ExtraAttributeName

String(32)

Y

Extra attribute name

à

20187

ExtraAttributeValue

String(64)

Y

Extra attribute value

20188

MifidInvestmentDecisionID

String

C

May be supplied to override value of MiFID Investment Decision Within Firm associated with this order.

20189

MifidInvestmentDecisionIDType

Int

C

Specifies the type of MifidInvestmentDecisionID (20188).

Valid values:

1 = Trader short code

2 = External Mifid Algorithm ID

3 = CQG Mifid Algorithm ID

20607

ContractDate

LocalMktDate

N

Contract date of the symbol.

Reserved for contract identification used by custom FIX API Vendor contract symbol mappings. It should not appear for FIX vendors which do not have it explicitly configured

20608

ContractDay

Int

N

Contract day of the symbol.

Reserved for contract identification used by custom FIX API Vendor contract symbol mappings. It should not appear for FIX vendors which do not have it explicitly configured

20609

ContractMonthYear

MonthYear

N

Contract month and year of the symbol.

Format: YYYYMM.

Reserved for contract identification used by custom FIX API Vendor contract symbol mappings. It should not appear for FIX vendors which do not have it explicitly configured

20619

TrailPeg

Char

C

Conditionally required if ExecInst includes R (Trailing) for limit orders only.

Valid values:

1 = Best Bid

2 = Best Ask

3 = Last Trade

Start of component block, expanded in line < PartyIDsGrp >

50453

NoPartyIDs

NumInGroup

C

Repeating group below should contain unique combinations of PartyRole, CQGTraderFIDType and PartyID.

50452

PartyRole

Int

C

Identifies the type or role of the PartyID (50448) specified.

Valid values:

2000 = CQG Trader FID

2001 = CQG Customer FID

2002 = Giveup Member

2003 = Exchange Account Type

2004 = Exchange Account Origin

2101 = Small Exchange Subscriber Token

20171

CQGTraderFIDType

String

C

Flexible Identifier Type. Describes the value being provided in PartyID (tag 50448).

Valid values:

      FID_TraderShortCode

      FID_ClientDecisionMakerShortCode

      FID_ClientDecisionMakerShortCodeType

      FID_PersonalTraderID

Valid value if PartyRole (50452) = 2001 (CQG Customer FID):

      FID_ClientIDShortCode

50448

PartyID

String

C

Identification of the party.

End of component block, expanded in line < PartyIDsGrp >

Start of component block, expanded in line < LegsGrp >

50555

NoLegs

NumInGroup

Y

Number of legs repeating group instances.

50600

LegSymbol

String(64)

Y

Multi-leg instrument’s individual security symbol.

50602

LegSecurityID

String

N

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

50603

LegSecurityIDSource

String

N

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

50608

LegCFICode

String

N

Indicates the type of security as per ISO 10962 standard.

For futures: FXXXXX;

For options: OPXXXX, OCXXXX;

For spreads: MXXXXX;

For other instruments: XXXXXX.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

50609

LegSecurityType

String

N

Indicates type of security.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

50610

LegMaturityMonthYear

MonthYear

N

Month and year of the maturity.

Format: YYYYMM.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

For FIX message consistency, CQG defines maturity as contract last trading date.

50611

LegMaturityDate

LocalMktDate

N

Date of maturity.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

For FIX message consistency, CQG defines maturity as contract last trading date.

50616

LegSecurityExchange

String

N

Market used to help identify a security.

Reserved for contract identification used by custom FIX API vendor contract symbol mappings. It should not appear for FIX vendors that do not have it explicitly configured.

50623

LegRatioQty

Qty

C

Ratio of quantity for this individual leg relative to the entire multileg security.

50624

LegSide

Char

Y

Side of this individual leg (multi-leg security).

Valid values:

1 = Buy

2 = Sell

Required if NoLegs (50555) > 0.

50654

LegRefID

String

N

Unique indicator for a specific leg (Uniqueness is guaranteed within a particular order request).

50588

LegFutSettDate

LocalMktDate

N

Specific date of trade settlement (SettlementDate) in YYYYMMDD format.

à

50566

LegPrice

Price

N

Price of covering futures contract. Send only for a Covered options UDS.

à

51017

LegOptionDelta

Float

C

Delta used to calculate the quantity of futures used to cover the option or options spread.

If this tag is present when RatioQty tag is specified for the same repeating group, message will be rejected.

Value range depends on specific exchange rules.

à

20610

LegContractDate

LocalMktDate

N

Сontract date of the leg symbol.

Remember that contract date may not match contract LTD, e.g. a June monthly contract may have LTD during May, while the first/last weekly contracts for a given month may have LTD in the prior/following month.

Month and Day portions follow the same rules described in LegContractMonthYear and LegContractDay.

à

20611

LegContractDay

Int

N

Contract day of the leg symbol. Contains day of month (1-31).

For products with weekly listings, Contract Day identifies the day within the week according to product-specific conventions, e.g. some options use Friday's date to identify the week, while some weekly power contracts use Monday's date to identify the week.

For products with monthly or yearly listings, Contract Day is always 1.

à

20612

LegContractMonthYear

MonthYear

N

Contract month and year of the leg symbol. Format: YYYYMM.

Remember that contract month/year may not match LTD month/year, e.g. a June contract may have LTD during May.

For products with yearly listings, month portion is always 01.

End of component block, expanded in line < LegsGrp >

50842

DiscretionOffsetType

Int

C

Type of Discretion Offset value. Required if DiscretionOffset is specified.

Valid values:

2 = Ticks

 

Standard Trailer

 

Y

 

 

Example: Order Cancel/Replace Multileg

8=FIX.4.2 | 9=145 | 35=AC | 49=user | 56=CQG_Gateway | 34=1872 | 52=20130106-15:34:36.459 | 37=748503366 | 41=CQG_748503366 | 11=Order2529 | 1=1 | 54=1 | 50555=2 | 50600=F.US.EDAH22 | 50654=456 | 50624=1 | 50623=1 | 50600=F.US.EDAZ23 | 50654=123_123 | 50624=2 | 50623=1 | 60=20130215-12:48:48 | 38=3 | 44=2000 | 10=173 |