Skip to main content

Close All At Market Price

Description

Close all orders at market price.

HTTP Request

POST /v3/trade/positionAll

Request Parameters

None

Response Parameters

ParameterTypeDescription
ordIdStringOrder ID
clOrdIdStringOrder ID as assigned by the user

Request Example

None

Response Example

{
"code": 200,
"data": [
{
"clOrdId": "polo331381602829729792",
"code": 200,
"msg": "",
"ordId": "331381602829729792"
},
{
"clOrdId": "polo331381602854895616",
"code": 200,
"msg": "",
"ordId": "331381602854895616"
},
{
"clOrdId": "polo331381602863284224",
"code": 200,
"msg": "",
"ordId": "331381602863284224"
},
{
"clOrdId": "polo331381602871672832",
"code": 200,
"msg": "",
"ordId": "331381602871672832"
}
],
"msg": "Success"
}