Skip to content

Close All Position

Rate Limit: 1 req/sec/uid

Description

Close all positions

HTTP Request

  • POST /api/v1/futures/trade/close_all_position

Request Parameters

ParameterTypeRequiredDescription
symbolstringfalseTrading pair

Request Example

bash
curl -X 'POST'  --location 'https://fapi.bitunix.com/api/v1/futures/trade/close_all_position' \
   -H "api-key:*******" \
   -H "sign:*" \
   -H "time:1659076670000" \
   -H "language:en-US" \
   -H "Content-Type: application/json" \
 --data '{"symbol":"BTCUSDT"}'

Response Parameters

ParameterTypeDescription

Response Example

json
{"code":0,"data":"","msg":"Success"}