API Reference

Cancel Order <F/G>

The Order Cancel Request message is used to cancel an existing order with remaining quantity.

TagField NameRequiredComments
Standard HeaderYesMsgType <35> = F
1AccountNo**Required for sessions that route to multiple sub-accounts
11CIOrdIDYesUnique ID of cancel request as assigned by the client
41OrigCIOrdIDNoCIOrdID <11> of the order to cancel. Needs to correspond to a current order submitted during the trading session. (Currently it is not validated)
37OrderIDYesUnique identifier of the order in HashKey Exchange Trading System. This ID will be used to find the order to be cancelled
54SideNoSide of the order to cancel.
Valid values:
‘1’ – Buy
‘2’ – Sell
55SymbolNoCurrency-pair. e.g. BTC-USDC, ETH-BTC, ETH-USDC
60TransactTimeYesTime that the order cancel request was initiated by the institution (expressed in UTC) i.e. YYYYMMDD-HH:MM:SS.sss
Standard trailerYes
RAW
       8=FIX.4.4|9=97|35=F|49=JOSEPH|56=TradingGateway|34=36|52=20240218-15:54:12|11=1981400111|37=1623494501833205760|10=220        |

HEADER
       8                 BeginString: FIX 4.4
       9                  BodyLength: 97
      35                     MsgType: F 
      49                SenderCompID: JOSEPH
      56                TargetCompID: TradingGateway
      34                   MsgSeqNum: 36
      52                 SendingTime: 20240218-15:54:12

BODY
      11                     ClOrdID: 1981400111
      37                     OrderID: 1623494501833205760

TRAILER
      10                    CheckSum: 220