API Reference

Cancel Order <F/G>

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

Tag

Field Name

Required

Comments

Standard Header

Yes

MsgType <35> = F

1

Account

No*

  • Required for sessions that route to multiple sub-accounts

11

CIOrdID

Yes

Unique ID of cancel request as assigned by the client

41

OrigCIOrdID

No

CIOrdID <11> of the order to cancel. Needs to correspond to a current order submitted during the trading session. (Currently it is not validated)

37

OrderID

Yes

Unique identifier of the order in HashKey Exchange Trading System. This ID will be used to find the order to be cancelled

54

Side

No

Side of the order to cancel.
Valid values:
‘1’ – Buy
‘2’ – Sell

55

Symbol

No

Currency-pair. e.g. BTC-USDC, ETH-BTC, ETH-USDC

60

TransactTime

Yes

Time that the order cancel request was initiated by the institution (expressed in UTC) i.e. YYYYMMDD-HH:MM:SS.sss

Standard trailer

Yes

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