Skip to content

Reduce Position​

POST
/v1/perps/positions/reduce

Reduce an open position by the specified quantity, or close it in full when quantity
is omitted. quantity is in the base asset (not quote). The returned position may be
null (fully closed) or delayed in some cases — use GET /v1/perps/positions to confirm.

Authorizations​

apiKey

Your API key

Type
API Key (header: X-VALR-API-KEY)
+
apiSignature

HMAC SHA512 signature of the request (see Authentication section)

Type
API Key (header: X-VALR-SIGNATURE)
+
apiTimestamp

Request timestamp in milliseconds

Type
API Key (header: X-VALR-TIMESTAMP)

Request Body​

application/json
JSON
{
"pair": "BTCUSDC",
"quantity": "0.0002"
}

Responses​

Position reduced successfully

application/json

Playground​

Authorization
Body

Samples​