Skip to main content

Order Cancel Replace Request

The Order Cancel-Replace Request message (MsgType=G) is used to amend the price, quantity, or markets of an existing order.

MESSAGE BODY

header required
MsgType G
11 - ClOrdID string required

Unique identifier for Order as assigned by the client. Must be <= 36 characters. UUIDs are recommended.

41 - OrigClordid string required

ClOrdID(11) of the previous non-rejected order.

55 - Symbol string required

The symbol of the currency pair to place an order on in the format BASE-QUOTE.

54 - Side integer required

Side of the order.

    Possible values:
  • 1 : Buy
  • 2 : Sell
40 - OrdType char required

The execution model of the order.

    Possible values:
  • 1 : market
  • 2 : Limit
  • A : LimitAllIn
38 - OrderQty float required

Order quantity in terms of the base asset.

44 - Price float conditional
Condition: OrderType=Limit/LimitAllIn

Limit price of the order to be placed in the Order Book.

60 - TransactTime string required
Format: YYYYMMDD-HH:MM:SS.uuu

Business timestamp for this request.

trailer required