v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Collateral Trading

Collateral Account Hedge Mode

The endpoint returns the current hedge mode status for the collateral trading account. When hedge mode is enabled (true), the account supports simultaneous long and short positions on the same market. When disabled (false), the account operates in one-way mode.

<Warning> Rate limit: 12000 requests/10 sec. </Warning>
post/api/v4/collateral-account/hedge-mode

Request body

requeststring
nonceinteger

Example request

{
  "request": "{{request}}",
  "nonce": 1594297865000
}

Response

Successful response - returns hedge mode status

hedgeModeboolean

Indicates whether hedge mode is active. When true, the account supports simultaneous long and short positions on the same market.

Example response

{
  "hedgeMode": true
}