---
title: "Update Collateral Account Hedge Mode"
method: POST
path: "/api/v4/collateral-account/hedge-mode/update"
tags: ["Collateral Trading"]
---

# Update Collateral Account Hedge Mode

`POST /api/v4/collateral-account/hedge-mode/update`

The endpoint enables or disables [hedge mode](/glossary#hedge-mode) 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: 1000 requests/10 sec.
</Warning>

<Warning>
Switching between one-way mode and hedge mode requires **no open positions**. Close all futures positions before toggling the mode. If the switch does not take effect immediately after closing positions, wait approximately 15 seconds and retry.
</Warning>

<Accordion title="Error Codes">
  - `30` - default validation error code (for example, a missing or non-boolean `hedgeMode` value)
  - `113` - hedge mode cannot be changed while open positions or orders exist
</Accordion>

## Request body

- object
  - `hedgeMode` boolean, required — Set to `true` to enable hedge mode (simultaneous long and short positions) or `false` to use one-way mode.
  - `request` string, required
  - `nonce` integer, required

## Response `200`

Successful response - hedge mode updated

## Other responses

- `422` — Inner validation failed
- `500` — Internal error
- `503` — Service temporarily unavailable

---

[API](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4.md) · [All operations](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whitebit/whitebit-private-http-api-v4/revisions/76c9def9942f/schema)
