查询订单

查询订单

post

说明:查询交易桥订单(仅能查询三个月内订单)

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

公司ID

Example: {{company}}
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

时间窗口

Example: 5000
signaturestringRequired

签名

Example: {{sign}}
langstringOptional

语言

Example: zh-CN
versionstringRequired

接口版本

Example: 0.0.1
groupstringRequired

group

Example: tradeApi
Body
tradeTypeinteger · longRequired

玩法类型。10-交易桥;

exchangeIdstringRequired

平台标识符。binance-币安;okx-欧易

accountNamestringRequired

平台账号别名

customerIdinteger · longOptional

客户Id

customerNostringRequired

客户编码

customerGroupIdinteger · longRequired

客户组Id

symbolIdinteger · longRequired

产品Id

orderIdstringOptional

平台订单号。与newClientOrderId选填一个,均填以orderId查询

clientOrderIdstringOptional

客户自定义的唯一订单ID。与orderId选填一个,均填以orderId查询

Responses
200Success
application/json
post
POST /global/tradeapi.admin.OrderAdminApiService.queryDirectOrder 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",
    "status": "text",
    "timeInForce": "text",
    "symbolId": 1,
    "bizType": 1,
    "direction": 1,
    "price": "text",
    "num": "text",
    "amount": "text",
    "executeNum": "text",
    "executeAmount": "text",
    "updateTime": 1
  }
}

Last updated