Skip to content

Flash Close Position

Rate Limit: 5 req/sec/uid

Description

Close position by position id

HTTP Request

  • POST /api/v1/futures/trade/flash_close_position

Request Parameters

ParameterTypeRequiredDescription
positionIdStringtrueposition id

Request Example

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

Response Parameters

ParameterTypeDescription
positionIdstringPosition ID

Response Example

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