Close Position

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Rate Limit: 50 requests per 10 seconds.

Close a single position. This API is asynchronous — returning success only means the request was accepted. Confirm the final result via WebSocket subscription or order query.

Request Parameters

FieldTypeNecessaryDescription
symStringYTrading pair unique identifier. e.g. BINANCE_PERP_BTC_USDT, OKX_PERP_BTC_USDT, EDX_PERP_ETH_USDT.
positionSideStringNRequired when position mode is BOTH. LONG or SHORT.

Response Fields

FieldTypeDescription
orderIdStringOrder ID generated for the close position request.

Example Response

{
  "code": 200000,
  "message": "Success",
  "data": {
    "orderId": "1234567890123456"
  }
}
Body Params
string
required
string

LONG/SHORT

Response

Language
LoadingLoading…
Response
Choose an example:
application/json