Exchange FIX API
G (Order cancel/replace request)
doc

G (Order cancel/replace request)

The G (Order Cancel/Replace Request) message is used to request the replacement of an existing order with a new order. It works as an atomic cancellation and placement of the new order.

  • If the existing order is not active, for example, it was filled or previously cancelled, the new order will not be placed.
  • If the existing order is found but partially filled, the new order will be placed with full 38 OrderQty, without any adjustment.
TagNameTypeRequiredDescription
41OrigClOrdIDUUIDyes11 ClOrdID of the previous non-rejected order when canceling an order. Used for reference only.
11ClOrdIDUUIDyesUnique identifier of the cancel request, as assigned by the client.
55SymbolCurrencyPairyesCurrency pair.
54SideCharyesSide of order.

Supported values:
  • 1 - BUY
  • 2 - SELL
37OrderIDUUIDyes, by Revolut FIX GatewayUnique identifier of the order in the Revolut Crypto Exchange. This ID will be used to find the order to be cancelled.
38OrderQtyQtyyesQuantity ordered.
60TransactTimeUTCTimestampyes, by FIX 4.4Timestamp provided by the client.
40OrdTypeCharyesOrder type.

Supported values:
  • 1 - MARKET
  • 2 - LIMIT

For more details, see FIX 4.4 : Order Cancel/Replace Request <G> message in the FIX 4.4 documentation.

Was this page helpful?