订单列表

订单列表

post

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

group=tradeApi
version=0.0.1
bizType=tradeapi.admin.OrderAdminApiService.queryDirectOrderList
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
groupstringRequiredExample: tradeApi
Body
tradeTypeinteger · longRequired

玩法类型。10-交易桥;

exchangeIdstringRequired

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

accountNamestringRequired

平台账号别名

customerIdinteger · longOptional

客户Id

customerNostringRequired

客户编码

customerGroupIdinteger · longRequired

客户组Id

symbolIdinteger · longRequired

产品Id

startTimeinteger · longOptional

筛选的开始时间戳,13位时间戳。startTimeendTime设置的时间间隔不能超过24小时.

endTimeinteger · longOptional

筛选的结束时间戳,13位时间戳。startTimeendTime设置的时间间隔不能超过24小时.

limitinteger · longOptional

返回结果的数量,默认20,最大100。如小于1或者大于100均仅返还20条

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

{
  "tradeType": 1,
  "exchangeId": "text",
  "accountName": "text",
  "customerId": 1,
  "customerNo": "text",
  "customerGroupId": 1,
  "symbolId": 1,
  "startTime": 1,
  "endTime": 1,
  "limit": 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