Appearance
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
Parameter | Type | Required | Description |
---|---|---|---|
symbol | string | false | Trading 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
Parameter | Type | Description |
---|
Response Example
json
{"code":0,"data":"","msg":"Success"}