跳到主要内容

查询杠杆账户 OCO(USER_DATA)

接口描述

根据提供的可选参数检索特定的杠杆账户 OCO 订单。

HTTP请求

GET /papi/v1/margin/orderList

请求权重

5

请求参数

名称类型是否必需描述
orderListIdLONGNOorderListIdlistClientOrderId 必须被提供
origClientOrderIdSTRINGNOorderListIdlistClientOrderId 必须被提供
recvWindowLONGNO赋值不能大于 60000
timestampLONGYES

响应示例

{
"orderListId": 27,
"contingencyType": "OCO",
"listStatusType": "EXEC_STARTED",
"listOrderStatus": "EXECUTING",
"listClientOrderId": "h2USkA5YQpaXHPIrkd96xE",
"transactionTime": 1565245656253,
"symbol": "LTCBTC",
"orders": [
{
"symbol": "LTCBTC",
"orderId": 4,
"clientOrderId": "qD1gy3kc3Gx0rihm9Y3xwS"
},
{
"symbol": "LTCBTC",
"orderId": 5,
"clientOrderId": "ARzZ9I00CPM8i3NhmU9Ega"
}
]
}