User Trades
user
User Trades
Return trades for the authenticated user.
GET
User Trades
Documentation Index
Fetch the complete documentation index at: https://docs.qfex.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
HMAC-SHA256 signature (hex-encoded).
Unique request nonce (hex encoded, max 100 characters).
QFEX API Authentication requires these headers:
- x-qfex-public-key: Your public API key
- x-qfex-hmac-signature: HMAC signature of the request (hex encoded)
- x-qfex-nonce: Unique nonce for the request (hex encoded, max 100 characters)
- x-qfex-timestamp: Unix timestamp of the request
These four are required. Optionally send x-qfex-requested-account-id (UUID) to act as a subaccount; see Signature Generation below.
Signature Generation:
- Generate a cryptographically secure random nonce (hex encoded, max 100 characters) and capture the current Unix timestamp.
- Build the string
${nonce}:${unix_ts}and compute an HMAC-SHA256 using your secret key. - Hex-encode the HMAC result to get the signature.
- Send the required auth headers below. The nonce must be unique within a 15 minute window.
Important: The signature itself must be hex-encoded before being sent in the x-qfex-hmac-signature header.
Optional header: x-qfex-requested-account-id (UUID) selects a subaccount; omit it to use the primary account.
Unix timestamp (seconds since epoch).
Query Parameters
Required range:
1 <= x <= 1000Required range:
x >= 0