Current pending order

Current pending order

post

Description: Query the current pending order list

group=tradeApi 
version=0.0.1 
bizType=tradeapi.admin.OrderAdminApiService.queryPendingDirectOrder 
Header parameters
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringRequired

Interface version

Example: 0.0.1
groupstringRequiredExample: tradeApi
Body
tradeTypeinteger · longRequired

Game type. 10-Transaction Bridge;

customerIdinteger · longOptional

CustomerId

customerNostringRequired

Customer code

customerGroupIdinteger · longRequired

Customer group ID

exchangeIdstringRequired

Platform identifier. binance-Binance; okx-OUYi

accountNamestringRequired

Platform account alias

symbolIdinteger · longRequired

ProductId

Responses
200Success
application/json
post
POST /global/tradeapi.admin.OrderAdminApiService.queryPendingDirectOrder HTTP/1.1
Host: 
companyId: text
trace: text
apiKey: text
signature: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 124

{
  "tradeType": 1,
  "customerId": 1,
  "customerNo": "text",
  "customerGroupId": 1,
  "exchangeId": "text",
  "accountName": "text",
  "symbolId": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": [
    {
      "exchangeId": "text",
      "orderId": "text",
      "clientOrderId": "text",
      "status": "text",
      "timeInForce": "text",
      "symbolId": 1,
      "bizType": 1,
      "direction": 1,
      "price": "text",
      "num": "text",
      "amount": "text",
      "executeNum": "text",
      "executeAmount": "text",
      "updateTime": 1
    }
  ]
}

Last updated