Close All at Market Price
/sapi/v1/trade/position_all
Request type: POST
Signature verification: Yes
Interface permission: Trade
Rate Limit: Generally, the private interface rate limit of API key is at most 144 times every 3 seconds for each UID (Trade Interface: at most 72 times every 3 seconds. Read Interface: at most 72 times every 3 seconds) (this rate limit is shared by all the altcoins contracts delivered by different date).
Interface description: Sell all positions at market price.
Request Address
Environment
Address
Online (preferred by aws customers)
Online
Response Parameter
Parameter
Data Type
Required
Description
Value Range
order_id
String
true
Order ID (UUID
client_order_id
String
false
Your order ID
Request Example
POST https://api.sunx.io/sapi/v1/trade/position_all?SignatureVersion=2&SignatureVersion=2&AccessKeyId=<your key>&Signature=<your signature>&SignatureMethod=HmacSHA256&Timestamp=2025-09-16T07%3A16%3A15Response Example
Last updated