v1
latestOpenAPI 3.0.32026-07-2613529376.3 KBCollateral Trading
Update Collateral Account Hedge Mode
The endpoint enables or disables 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>post/api/v4/collateral-account/hedge-mode/update
Request body
Example request
{
"hedgeMode": true,
"request": "{{request}}",
"nonce": 1594297865000
}Response
Successful response - hedge mode updated