订单列表
说明:查询交易桥订单列表(仅能查询三个月内订单)
group=tradeApi
version=0.0.1
bizType=tradeapi.admin.OrderAdminApiService.queryDirectOrderList
Header parameters
companyIdstringRequiredExample:
公司ID
{{company}}tracestringRequiredExample:
全局链路唯一标志
{{mock_trace}}apiKeystringRequiredExample:
apiKey
{{apikey}}recvWindowstringOptionalExample:
时间窗口
5000signaturestringRequiredExample:
签名
{{sign}}langstringOptionalExample:
语言
zh-CNversionstringRequiredExample:
接口版本
0.0.1groupstringRequiredExample:
tradeApiBody
tradeTypeinteger · longRequired
玩法类型。10-交易桥;
exchangeIdstringRequired
平台标识符。binance-币安;okx-欧易
accountNamestringRequired
平台账号别名
customerIdinteger · longOptional
客户Id
customerNostringRequired
客户编码
customerGroupIdinteger · longRequired
客户组Id
symbolIdinteger · longRequired
产品Id
startTimeinteger · longOptional
筛选的开始时间戳,13位时间戳。startTime和endTime设置的时间间隔不能超过24小时.
endTimeinteger · longOptional
筛选的结束时间戳,13位时间戳。startTime和endTime设置的时间间隔不能超过24小时.
limitinteger · longOptional
返回结果的数量,默认20,最大100。如小于1或者大于100均仅返还20条
Responses
200Success
application/json
post
/global/tradeapi.admin.OrderAdminApiService.queryDirectOrderListPOST /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