Skip to main content
POST
Update Collateral Account Hedge Mode

Authorizations

X-TXC-APIKEY
string
header
required

The public WhiteBIT API key.

X-TXC-PAYLOAD
string
header
required

Base64-encoded JSON request body.

X-TXC-SIGNATURE
string
header
required

HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).

Body

application/json
hedgeMode
boolean
required

Set to true to enable hedge mode (simultaneous long and short positions) or false to use one-way mode.

Example:

true

request
string
required
Example:

"{{request}}"

nonce
string
required
Example:

"{{nonce}}"

Response

Successful response - hedge mode updated