Cancel order
Description: Cancel trading bridge order
group=tradeApi 
version=0.0.1 
bizType=tradeapi.admin.OrderAdminApiService.cancelDirectOrder 
Header parameters
companyIdstringRequiredExample: 
Company ID
{{company}}tracestringRequiredExample: 
Global link unique identifier
{{mock_trace}}apiKeystringRequiredExample: 
apiKey
{{apikey}}recvWindowstringOptionalExample: 
time window
5000signaturestringRequiredExample: 
sign
{{sign}}langstringOptionalExample: 
language
zh-CNversionstringRequiredExample: 
Interface version
0.0.1groupstringRequiredExample: 
tradeApiBody
tradeTypeinteger · longRequired
Game type. 10-Transaction Bridge;
exchangeIdstringRequired
Platform identifier. binance-Binance; okx-OUYi
accountNamestringRequired
Platform account alias
customerIdinteger · longOptional
CustomerId
customerNostringRequired
Customer code
customerGroupIdinteger · longRequired
Customer group ID
symbolIdinteger · longRequired
ProductId
orderIdstringOptional
Platform order number. Select one of newClientOrderId and fill in both with orderId to query
clientOrderIdstringOptional
Customer-defined unique order ID. Select one of orderId, fill in both with orderId to query
Responses
200Success
application/json
post
/global/tradeapi.admin.OrderAdminApiService.cancelDirectOrderPOST /global/tradeapi.admin.OrderAdminApiService.cancelDirectOrder HTTP/1.1
Host: 
companyId: text
trace: text
apiKey: text
signature: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 164
{
  "tradeType": 1,
  "exchangeId": "text",
  "accountName": "text",
  "customerId": 1,
  "customerNo": "text",
  "customerGroupId": 1,
  "symbolId": 1,
  "orderId": "text",
  "clientOrderId": "text"
}200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": {
    "exchangeId": "text",
    "orderId": "text",
    "clientOrderId": "text"
  }
}Last updated