Close All of a Symbol at Market Price
/sapi/v1/trade/position
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 designated positions at market price.
Request Address
Online
Online (preferred by aws customers)
Request Parameter
contract_code
String
true
Symbol
margin_mode
String
true
Margin mode
cross: Cross margin
position_side
String
true
Position side
The side of your position. Under the buy/sell mode, "both" is default. Under the long/short mode, "long" refers to going long; "short" refers to going short.
client_order_id
String
false
Order ID you entered
Response Parameter
client_order_id
String
false
Your order ID
Request Example
Response Example
Last updated